-
Notifications
You must be signed in to change notification settings - Fork 2.2k
BFM_Cobra3 - attempt to improve non-MPEG hardware parts. #14588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
BFM_Cobra3 - attempt to improve non-MPEG hardware parts. #14588
Conversation
| offset &= 0x7ff; | ||
| offs_t cs_addr_8_11 = (offset * 2) & 0xf00; | ||
|
|
||
| switch(cs_addr_8_11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ensure consistent spacing, per https://docs.mamedev.org/contributing/cxx.html#spacing (compare to line 139).
| switch(cs_addr_8_11) | ||
| { | ||
| case 0x300: //ac0300 | ||
| if(ACCESSING_BITS_0_7) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ibid, and through the rest of the file.
src/mame/bfm/bfm_cobra3.cpp
Outdated
| switch (cs) | ||
| { | ||
| case 1://ROM, shouldn't write here? | ||
| logerror("%08x maincpu write access(1) offset %08x data %08x mem_mask %08x cs %d\n", pc, offset*4, data, mem_mask, cs); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above, and throughout the file.
Also, please use machine().describe_context(), not m_maincpu->pc().
src/mame/bfm/bfm_cobra3.cpp
Outdated
| } | ||
| break; | ||
|
|
||
| case 4: //0x00b10000 SCSI controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"0x00b10000"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was me trying to rationalise CS access to an old school memory map for rationalisation. Not really needed, so I've removed this and other similar lines.
------------------------------ Telly Addicts (New Series) (Bellfruit) (Cobra 3) [James Wallace, blueonesarefaster] bfm_cobra3.cpp - hook up revised CD dumps and non-MPEG graphics hardware [James Wallace, blueonesarefaster]
3bc56ad to
5524834
Compare
New systems marked not working
Telly Addicts (New Series) (Bellfruit) (Cobra 3) [James Wallace, blueonesarefaster]
bfm_cobra3.cpp - hook up revised CD dumps and non-MPEG graphics hardware [James Wallace, blueonesarefaster]