diff options
| author | 2020-04-25 03:53:06 +0200 | |
|---|---|---|
| committer | 2020-04-25 03:53:06 +0200 | |
| commit | 4a6bf4e1c0b994919e4641b7210ba1fe59ea05fc (patch) | |
| tree | 3a3ced1bf3a637e6bdf710cca08db82b0548f09d | |
| parent | 737497d5539b16d835c44c751ae5abafc8455488 (diff) | |
stvcd.cpp: move note on top, make some basic QA (nw)
| -rw-r--r-- | src/devices/machine/stvcd.cpp | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp index 267e981621c..e5ed71a382c 100644 --- a/src/devices/machine/stvcd.cpp +++ b/src/devices/machine/stvcd.cpp @@ -21,6 +21,23 @@ LBA except it counts starting at absolute zero instead of the first sector (00:02:00 in MSF format). +============================================================================ +TODO: +- finish off code cleanups (repetition etc.); +- improve debugging; +- fix DRQ behaviour, several softwares gets to the point of filling + the buffer (and probably don't know what to do); +- fix startup, cfr. cdblock branch; +- merge common components with lle version via superclass (i.e. comms); +- derive MPEG commands in a subdevice; + +DASM notes: +* whizzj: +- wpset 0x605e4b8,4,w,wpdata==0x4e + (second trigger) +- write to 0x605e498 -> 1 + (PUBLISH.CPK tries to playback a few frames then keeps looping) + ***************************************************************************/ #include "emu.h" @@ -487,10 +504,6 @@ void stvcd_device::cr_standard_return(uint16_t cur_status) } else { - /* - TODO: - - Whizz: wpset 0x608f030,4,w,wpdata==0x100&&pc!=0x6040006 - */ cr1 = cur_status | (playtype << 7) | 0x00 | (cdda_repeat_count & 0xf); //options << 4 | repeat & 0xf cr2 = (cur_track == 0xff) ? 0xffff : ((sega_cdrom_get_adr_control(cdrom, cur_track)<<8) | (cdrom_get_track(cdrom, cd_curfad-150)+1)); cr3 = (get_track_index(cd_curfad)<<8) | (cd_curfad>>16); //index & 0xff00 |
