Todo: Difference between revisions

From vice-emu
Jump to navigation Jump to search
 
Line 1: Line 1:
==Known Issues==


This is the list of known problems. also look at [https://sourceforge.net/tracker/?limit=100&func=&group_id=223021&atid=1057617&assignee=&status=4&category=&artgroup=&keyword=&submitter=&artifact_id=&assignee=&status=1&category=&artgroup=&submitter=&keyword=&artifact_id=&submit=Filter&mass_category=&mass_priority=&mass_resolution=&mass_assignee=&mass_artgroup=&mass_status=&mass_cannedresponse= Tracker: open Bugs]
This is the list of known problems. also look at [https://sourceforge.net/tracker/?limit=100&func=&group_id=223021&atid=1057617&assignee=&status=4&category=&artgroup=&keyword=&submitter=&artifact_id=&assignee=&status=1&category=&artgroup=&submitter=&keyword=&artifact_id=&submit=Filter&mass_category=&mass_priority=&mass_resolution=&mass_assignee=&mass_artgroup=&mass_status=&mass_cannedresponse= Tracker: open Bugs]


----
This list always refers to the status of the last major release version, which was '''3.8'''. Items that have been fixed by the time of a major release will be removed, items fixed after that will be marked as fixed and stay until the next major version. New items will be added as noticed.
 
==Prime Directive==
 
* '''All developers shall subscribe to the [https://sourceforge.net/p/vice-emu/mailman/ vice-emu-mail mailinglist]''' and perhaps join #vice-dev on freenode too (highly recommended).
* Please '''respect the [https://sourceforge.net/p/vice-emu/code/HEAD/tree/trunk/vice/doc/coding-guidelines.txt coding guidelines]'''.
* '''Document your code''' so other people than you are able to understand and fix it in a decade or two.
* When adding/changing stuff that needs (G)UI items/changes, '''all developers should update the SDL and GTK3 UIs themselves''', and immediately following their respective changes.
* When adding/changing command-line options and/or resources, adding a new feature or change the behavior of an existing feature, '''please update the documentation'''.
* After fixing a bug or implementing a new feature, '''update''' its status on '''the [https://sourceforge.net/tracker/?limit=50&group_id=223021&atid=1057617&status=1&submit=Filter Bug Tracker] and''' mark it as fixed in '''the TODO list''' below.
:: Only remove a bug/feature from this list when it was fixed/implemented in the latest stable release.
* And most importantly...
<pre>
<@_tlr> Please at least test the issue you were trying to fix before committing.
</pre>
: That means: '''you break it, you fix it.''' Do not commit deal breaking changes without communicating it with the rest of the team. '''Generally regressions are not acceptable and respective commits are subject to be reverted.'''
 
==Testbench==
 
* many test programs (mostly for vic20) are not yet integrated into the automatic testing
* '''TODO''': fix the reference screenshots and/or the scripts so they dont rely on the "normal" rendering mode anymore
* '''TODO''': make a test program to determine visible screen dimensions
* '''TODO''': make a test program to determine the type of delay line used for a PAL screen (UV or U only)
=== autostart problems ===
 
* x128 does not autostart prg files correctly when also a cartridge is attached (that forces c64 mode)
 
==Emulators==
 
===Subsystems===
 
====Keyboard====
 
* When a key which is shifted on the real machine but unshifted on the PC or Unix keyboard you are using is pressed, the virtual shift is pressed together (i.e. at the same clock cycle) with the main key; this could not work with some keyboard routines.
 
: '''Workaround''': If you have to use the function keys, press the (real) shift key manually (e.g. F2 = Shift + F1, F4 = Shift + F3 and so on); this also works with other keys. In any case, using a positional keymap will remove much of this problem.
 
* Some ports/emulators/keyboard-types do not have all required keymaps (and a fallback will used) - look at [[Keymaps]] for details
 
* Although "shift lock" can be mapped to a key, not all ports and/or emulators support it due to missing keymaps and/or implementation details.
: '''TODO''': check ports and fix or at least add a comment in the keymaps
 
* contact-bounce is not emulated
: '''TODO''': make a proper test program
 
====Joystick====
 
WIP [[Joymappings]]
 
* contact-bounce is not emulated
: '''TODO''': make a proper test program
 
====Monitor====
 
* TODO: Breakpoints/watchpoints should consider banks, and perhaps PLA/MMU config
* banking should somehow work also with cartridges. for this some generic interface in the cartridge system needs to be created
 
===== Profiler =====


===general===
The new profiler feature is still incomplete ( https://sourceforge.net/p/vice-emu/patches/350/ )


* emulator system state is always the same when starting, meaning that various methods of randomizing data will fail on vice (ie, always give the same result) when using the autostart feature.
* support for banking (main CPU) is only implemented in x64(sc) right now
'''Workaround''': load the program in question manually, that will usually introduce enough randomness into the system state.
** banking should somehow consider cartridge banks, once we have generic support for it in the monitor
* perhaps additional stats for "stolen cycles" (cycles used by the VICII) can be added
* branch taken / not taken statistics
* support for drive CPUs is missing
* support for other CPUs than 6502 is missing
* binary remote monitor commands need to be implemented (perhaps once more of the above works, so we know how these must look like)


''note: this could perhaps be solved (atleast partially) by inserting a random delay before "run" ?'' --[[User:Gpz|Gpz]] 01:45, 11 January 2011 (UTC)
===== Binary Interface =====


===Documentation===
The binary interface has a few design issues that should be fixed


* the documentation is partly outdated and/or incomplete.
* Command 0x84 (get display) has several issues:
** The first parameter should probably not be a boolean ("is this VICII?"), but "videochip number", with 0 being VICII and 1 being VDC on C128. Further Videochips could be added then (eg if we ever implement the BTX cartridge). Perhaps for compatibility reasons we start counting at 1, and make "0" a special parameter for "current one" '''I'm not sure what to do with this so I'm leaving it alone for the time being.'''


===Keyboard===
Also, the Documentation has some issues:


* When a key which is shifted on the real machine but unshifted on the PC or Unix keyboard you are using is pressed, the virtual shift is pressed together (i.e. at the same clock cycle) with the main key; this could not work with some keyboard routines.
* At some places it uses &foo and *bar to refer to "length" and a block of data(?). This is really weird and should be removed / replaced by something that is more clear.
'''Workaround''': If you have to use the function keys, press the (real) shift key manually (e.g. F2 = Shift + F1, F4 = Shift + F3 and so on); this also works with other keys.


===Monitor===
Last not least the binmontest program needs cleanup, so it can serve as an example program:


* When loading a snapshot, the monitor break/watchpoints break.
* Magic values are used for offsets at various places. It should use constants instead. Ideally, a common header file is used for both the test-program and the VICE code itself
* "next" does not stop after virtual drive subroutines ( https://sourceforge.net/tracker/?func=detail&aid=3151796&group_id=223021&atid=1057617 )
* More comments are needed in place of the various checks


===History Recording===
====History Recording====


* history recording currently breaks on a lot of user actions, such as using autostart or attaching a cartridge.
: '''Workaround''': make sure to start up with a bog standard c64, and then load/run the program in question manually
* recording/playing back histories was broken in 2.2 ( https://sourceforge.net/tracker/?func=detail&aid=2925410&group_id=223021&atid=1057617 )
* recording/playing back histories was broken in 2.2 ( https://sourceforge.net/tracker/?func=detail&aid=2925410&group_id=223021&atid=1057617 )
note: since history recording is very error prone and hard to debug, we depend on feedback (on either failure or success) on this topic very much. if you still have problems with the current release, please report them including testcases.
note: since history recording is very error prone and hard to debug, we depend on feedback (on either failure or success) on this topic very much. if you still have problems with the current release, please report them including testcases.


----
====Screenshots / Media Recording====
* Screenshots with activated video filter (CRT emulation / Scale2x) do not deliver the expected (filtered) result.


===CPU===
====Rendering====
 
* Wrong emulation of illegal opcode ANE (aka XAA) makes some Mastertronic tape loader fail. ( https://sourceforge.net/tracker/?func=detail&aid=2110948&group_id=223021&atid=1057617 ) (in progress)


note: This is not really a bug. The result of the opcode in question is A = ((A | CONST) & X & IMM), with CONST apparently being both chip- and temperature dependent. In other words: this particular loader will also not work on all real C64s. (see testprogs/general/ane-lax)
* some things are still shared by videochips although they shouldnt be, resulting in conflicts for eg the color generation (visible in x128 in ports that show two windows at a time, when crt emulation is enabled, eg adjusting brightness affects also the other window)
* '''TODO''' add a 4:3 fixed aspect ratio scaling mode
* '''TODO''' when a test program has been written, adjust the "normal" border mode accordingly (CAUTION: fix testsuite first)
* '''TODO''' put all border mode parameters into arrays, make a global function to query the parameters and modes (for UIs) and then add "TV" mode (like "normal", but not centered)


===VIC-II===
=====CRT Emulation=====


* the handling of MCBASE at power-on is incorrect (see testprogs/VICII/spritemcbase)
* the rf-modulator output characteristics are not emulated, which means the so called "black bleeding" effect does not work (emusux0r, http://www.csdb.dk/release/?id=81780)
note: this should only be visible directly after power-cycle on a 6569
* artefact color and luma/chroma crosstalk are not emulated (eg the "red/green stripes")


===CIA===
see http://hitmen.c02.at/temp/palstuff/ for some further info on this topic.


* -ciamodel 0 (6526) shows wrong results in testprogs/interrupts/cia-int/cia-int-*.prg
====Drive Emulation====
** this is somehow related to testprogs/CIA/ciavarious set 3 tests k & l (fixed in 23564)
''note: LOAD"CIA3",8 - LOAD"CIA3DATA",8,1 - RUN - press 'k', 'l'''
* -ciamodel 1 shows wrong results in testprogs/interrupts/cia-int/cia-int-nmi.prg.
''note: Seems that the interrupt handler ist entered too early; should be reproducable by some (new) irqdma test
* the case when both port A and port B are in output mode (and driving "against" each other) and/or a value is read from a port that is in output mode is not handled correctly (  http://noname.c64.org/csdb/release/?id=5375 )


===SID===
* G64 image support is incomplete, the speedzone definitions are completely ignored
: ''Note: this is no problem in practise, so far not a single title (game) could be located that would actually require this kind of support to work''. Incase you find a program that needs this kind of support, please let us know.
* RPM and Wobble settings have currently no effect when P64 images are used


* the POTX/POTY sampling period is not taken into account
=====virtual Devices=====
* POTX/POTY sampling jitter is not emulated
* only one mouse or pair of paddles can be emulated at a time


===VDC===
* handling of CBM style sub partitions is incomplete, write operations on sub partitions may give unexpected results.
* RELative files are only supported when using disk images ( https://sourceforge.net/p/vice-emu/bugs/703/ )
* support for double sided disk images is very shaky, since no concept of disk sides exists and the tracks on the second side are referenced by an offset into the image, the handling of images with different number of tracks is needlessly hard and complicated (and thus broken).
* the IEEE machines use the "virtual devices" for something slightly different than the IEC machines, for the IEEE machines its more like what "IEC Device" means for the IEC machines. This should be handled with a seperate resource similar to "IEC Device" in the other emulators.


* Some basic features of the VDC are missing:
=====True Drive Emulation=====
** 40 columns mode ( https://sourceforge.net/tracker/?func=detail&aid=2947582&group_id=223021&atid=1057617 )
* serial timing latency is not implemented. due to their physical properties, it takes about half a cycle for a value to show up at the respective output pin after it has been written to the register. and respectivly, it takes about half a cycle from changing an input pin until the value in the respective register changes.
** Interlaced mode ( https://sourceforge.net/tracker/?func=detail&aid=2871065&group_id=223021&atid=1057617 )
* mechanical delays (such as head stepping and motor spinup) are not emulated yet.
* clock calculation for lightpen is incorrect
* accessing device #7 on the IEC bus works (only real devices), but it only works if True Drive Emulation is OFF, even though this has nothing to do with drives. This needs to be fixed in TDE somehow.
: generally the way device #7 is implemented as a special case that is different to devices 4-6 is questionable and should be made the same
======1571======
* 2mhz mode of the 1571 is not handled correctly
** drive CPUs always run at 1Mhz for all drives (hardcoded 1000000 at a few places)
** 1571 has extra delay on on reading sync inside the drive, ("you cannot use BVC in 2mhz mode!")
* 1571CR (MOS5710) emulation is incomplete
** extra FDC2 registers are not implemented
* double sided 1571 images do not work correctly
** regular (70 tracks) vs extended (80 or 84 tracks) d71 images are not handled at all (vdrive problem)
** creating (formatting) G71 does not work correctly, the second BAM block will be wrong (vdrive problem)
** double sided P64 can be used, but can not be created from within VICE (see patch #122, r32586). since these are non existant "in the wild" and probably not needed for anything - not a big problem :) to handle this properly, a seperate image format should get created (at least internally)


===Drive Emulation===
=====Extensions=====
* when using dolphin dos 3 emulation, the state of the mc6821 is not saved to/restored from snapshots
* when using supercard+ emulation, the optional additional index hole sensor (for the IHS nibbler) is not emulated
=====Drive Noise=====
* since the current implementation is a very simple sample player, things like "drive composer" will not work


* Dual disk drive 2040/3040 support (DOS1, 670 blocks free) is not working
====Datasette Emulation====
* when using a dual drive, only the first drive (0:) can be used.


====virtual Devices====
* unlike with a real datasette, the emulated counter will stop counting when no tape/image is present
* when a t64 image is attached, the datasette status will incorrectly say "no image".
: ''Note: since t64 is currently only accessable via kernal traps, the datasette emulation actually treats this case as if no image is present. The respective code must be updated so the datasette emulation actually "knows" about when t64 is in use.''
* motor noise is not emulated


* the drive rom can not be read using "m-r" when tde is disabled (instead zeros will be returned).
====Printer Emulation====
''note: this is actually not a missing feature but a bug - because the code _does_ return the drive rom array, its just not loaded. however, the current situation (returning zeros) should be default for most practical situations - so when this gets fixed, it should be optional.'' --[[User:Gpz|Gpz]] 01:52, 11 January 2011 (UTC)


====True Drive Emulation====
* not really a bug: the printer output file is always created in the current working directory. ( https://sourceforge.net/tracker/?func=detail&aid=3305650&group_id=223021&atid=1057617 )
* serial timing latency is not implemented. (1 cycle per foot of cable or so)
: ''there perhaps should be a way to explicitly set a directory for printer output files'' [[User:Gpz|Gpz]] 01:24, 4 July 2011 (UTC)
* drive emulation can not handle a sync mark that is located on the track wraparound (ie starts at the end of a track and continues at the beginning)
* printer noise is not emulated
* 2mhz mode of the 1571 is not handled correctly, 1571 has extra delay on on reading sync inside the drive, ("you cannot use BVC in 2mhz mode!")
* there exist problems handling certain G64 images:
** The Toy Shop ( https://sourceforge.net/tracker/?func=detail&aid=2371598&group_id=223021&atid=1057617 )
** Star Rank Boxing ( https://sourceforge.net/tracker/?func=detail&aid=3134001&group_id=223021&atid=1057617 )


----
----


===x64 / x64sc===
===Cores===


====x64 issues addressed by x64sc====
{| class="wikitable"
! Core !! used in !!
|-
| VIA || VIC20, PET, various drives ||
|-
| CIA || C64, C128, 1570/71 ||
|-
| SID || C64, C128, CBM2, (VIC20, PLUS4, PET: SID cart) ||
|-
| TED || Plus4 || snapshots are broken
|-
| VDC || C128 || snapshots are broken
|-
| VIC || VIC-20 ||
|-
| VIC-II || C64, CBM2 ||
|-
| VIC-IIe || C128 ||
|-
| t6721a || Magic Voice, Plus4 (V364) || snapshot support is missing
|-
| mc6821 || Formel64, Magic Formel, Dolphin-DOS 3 ||
|-
| CS8900a || RR-Net/TFE || snapshot support is missing
|-
| RIOT || 2040/3040/4040/1001/8050/8250 ||
|-
| PC8477/DP8473 || FD4000/FD2000 ||
|-
| WD1770 || 1570/1571/1581 ||
|-
| ACIA (6551)|| Swiftlink ||
|-
| spi-sdcard || MMC64, MMC Replay || snapshot support is missing
|-
| ser-eeprom || MMC Replay || snapshot support is missing
|-
| midi || C64, VIC-20 || snapshot support is missing
|}


To clarify... these will never (as in can't) be emulated in the regular x64, unless we end up replacing x64 with x64sc.
====VIA====


* some VIC-II bugs present in the old VIC-II core
* MYVIA_NEED_LATCHING option is possibly broken, but in any case untested
** inline gfx data changes are not emulated (see testprogs/VICII/gfxfetch/)
* the code doesn't actually notify anything outside the chip when PB7 toggles
** The VIC-II implementation lacks cycle exact sprite collision support
** Same so far for the output from the shift register and its handshaking
** VIC-II shows wrong colors when switching from hires background to idle with borders open (see testprogs/VICII/border/*, Krestology)
** VIC-II fetches from cartridge in ultimax mode can not be emulated properly for all carts
note: this is also broken in xcbm2
* break- and watchpoints in zeropage are broken ( https://sourceforge.net/tracker/?func=detail&aid=3134003&group_id=223021&atid=1057617 )
note: this is also broken in xplus4, xcbm, x128, xpet, ie most emulators that do not use the new cpu core (works on x64dtv due to special zeropage handling)
* cartridge freeze is broken ( https://sourceforge.net/tracker/?func=detail&aid=3133999&group_id=223021&atid=1057617 )


'''Workaround''' in all cases: use x64sc :)
====CIA====


====x64 specific problems====
* the case when CIA1 port A and port B are both in output mode, port A outputs low, port B outputs high, both are connected via the keyboard matrix and a value is read from port B is not handled correctly ( testprogs/CIA/ciaports ; http://noname.c64.org/csdb/release/?id=5375 ) (has been improved but is not perfect)
* the various analog side effects that must be considered when pressing two or more keys are not emulated correctly, so this will currently not produce the correct results in some corner cases.
* Shift Register IRQ triggers one cycle too early (see [http://sourceforge.net/p/vice-emu/bugs/599/ this] bug)


note: While most of the x64sc improvements/fixes are impossible to shoehorn into x64 (hence the split), a few things could still be improved:
====SID====


* testprogs/VICII/spritesteal (ntscold)
* POTX/POTY sampling jitter is not emulated
* testprogs/VICII/phi1timing (ntsc,ntscold)
* only one mouse or pair of paddles can be emulated at a time
* testprogs/VICII/spriteenable
* missing open border on top of testprogs/VICII/sprite0move
* testprogs/VICII/split-tests/modesplit


'''Workaround''' in all cases: use x64sc :)
====TED====


====Cartridge System====
* FLI does not work ( https://sourceforge.net/tracker/?func=detail&aid=3205787&group_id=223021&atid=1057617 )


* the c64/c128 cartridge system has several limitations when multiple carts are to be attached at the same time. (in progress)
====VDC====
* VIC-II fetches from cartridge in ultimax mode are incomplete (Magic Formel, Final Cartridge Plus, Stardos, Capture, MMC Replay, EXOS)
* the monitor may incorrectly access cartridge memory (even) if "bank cart" is explicitly set (Magic Formel, Zaxxon, Final Cartridge Plus, Stardos, Capture, MMC Replay, Game Killer, EXOS)
* some carts have no snapshot support yet (MMC64, Magic Voice, MMC Replay, IDE64, MIDI, SFX Sound Sampler, SFX Sound Expander, Ethernet)
* some carts do not work 100% yet (Magic Voice, MMC Replay, Snapshot64, Stardos)
** Magic Voice: works only in basic mode right now
** MMC Replay: only the BIOS mode works right now
** Snapshot64: crashes on various functions, "codebuster" rom crashes when entering the code inspector
** Stardos: file- and disk- copier seem to have problems


===x128===
* Some basic features of the VDC are missing:
** Registers 34/35 (horizontal blanking position) not implemented
** $d600 bit 7 STATUS flag is only approximately implemented. Fixing requires emulating the internal timing of the VDC..  (partially implemented in r35456, also see testprogs/VDC/vdctiming)
** Differences between 8563 and 8568 are not all emulated, eg. register 38
* Clock calculation for lightpen is incorrect (?)
* Can't resize the screen enough to fit all video modes, e.g. vdcmodemania high resolution modes. Aspect ratio needs to change on the fly too.
* Screen position is not always correct, e.g. vdcmodemania FLI parts


* Support for fast mode (2MHz) is implemented but incomplete, detailed information about the stealing of cycles by the VICII when switching back from fast mode is missing and therefor the emulation of it is incorrect.
====VIC====
* break- and watchpoints in zeropage are broken. this is because of the old cpu core, and can likely not be fixed without migrating to the new one.
* the same renderer is used for both the VIC-II and the VDC output
* support for c128 specific expansion port handling/mapping is missing in the c64/c128 cartridge system (MMC Replay, FastLoad128, MACH128, other?)


===xvic===
* Idle fetch (or the lack of it) needs investigation
 
* "Screen mixup" is not emulated
* SID card only supports "fast SID"
* COLS=0 can lead to negative width in raster/ causing segfaults if not checked for in archdep video code
* NTSC bugs:
* NTSC bugs:
** raster line register values are incorrect near the end of frame (see testprogs/VIC20/split-tests/lightpen)
** raster line register values are incorrect near the end of frame (see testprogs/VIC20/split-tests/lightpen)
** lightpen values are off (see testprogs/VIC20/split-tests/lightpen, http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=4870 )
** lightpen values are off (see testprogs/VIC20/split-tests/lightpen, http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=4870 )
** some glitches when XPOS is 0, breaks (at least) Vicual MMIX credits part (http://www.cs.tut.fi/~albert/Pu-239/vicual-mmix/)
** some glitches when XPOS is 0, breaks (at least) Vicual MMIX credits part (http://www.cs.tut.fi/~albert/Pu-239/vicual-mmix/)
* Idle fetch (or the lack of it) needs investigation
* "Screen mixup" is not emulated
* COLS=0 can lead to negative width in raster/ causing segfaults if not checked for in archdep video code


===x64dtv===
====VIC-II====
 
* the handling of MCBASE at power-on is incorrect (see testprogs/VICII/spritemcbase)
*: note: this should only be visible directly after power-cycle on a 6569
* DMA delay artifacts are not emulated correctly ( https://sourceforge.net/tracker/?func=detail&aid=3325466&group_id=223021&atid=1057617 )
* Sprite fetch bugs in sideborder are not emulated correctly ( https://sourceforge.net/tracker/?func=detail&aid=3325426&group_id=223021&atid=1057617 )
* DMA delay does not affect idle byte correctly [https://sourceforge.net/p/vice-emu/bugs/1855/ bug#1855]
* 6569R1 sprite oddity at X-position $163 is not emulated correctly [https://sourceforge.net/p/vice-emu/bugs/1857/ bug #1857]
 
====VIC-IIe====
 
* The test bit is not emulated, which results in things like 'real interlace' ([http://sites.google.com/site/h2obsession/CBM/C128/Interlace]) and the $D030 new VIC-IIe color palette hack ([http://www.commodore128.org/index.php?topic=3665.0]) not working.
 
====t6721a====
 
* 48bit frames support is incorrect/broken
* synthesizer condition 2 loss-effect-, shape- and repeat- bits have no effect
* reading from the speach rom is not emulated (which is not really an issue since neither magic voice nor v364 have one)
 
====mc6821====
 
* interrupts are not implemented
* implementation of C2 output modes is incomplete
 
====RIOT====
 
* I/O "peek" function is broken


* Very inaccurate, needs to be rewritten (in progress)
----
* Misery 3: (http://noname.c64.org/csdb/release/?id=83196)
** fails emudetect
** plasma part is missing badlines
* "one click" model selection is not implemented


===xplus4===
===Machines===


* support for Snapshots is incomplete/broken (TED, V364 Speech, ...) ( https://sourceforge.net/tracker/?func=detail&aid=2878220&group_id=223021&atid=1057617 )
====x64sc====
* break- and watchpoints in zeropage are broken. this is because of the old cpu core, and can likely not be fixed without migrating to the new one.
* SID card only supports "fast SID"
* "one click" model selection is not implemented


===xcbm2===
Note: [[x64_Bugs|x64]] is deprecated.


* Although both are emulated in the xcbm2 emulator, switching between C510 and C6x0/7x0 is not possible at runtime.
=====general=====
'''Workaround''': Use command line option "xcbm -model 510" or "xcbm -model 610" respectivly.


''note: this will be solved by splitting the cbm2 emulator into two binaries''
* some C64 models are not emulated 100% correctly (for details see [[C64models]])
* The CBM-II emulator, when the execution bank is set to an open memory bank, sets the zeropage and stack access to unmapped, but actually existing memory. This is a bug but cannot be avoided with the current CPU code architecture.
** the memory layout for "Max Machine" is not yet correct
* break- and watchpoints in zeropage are broken. this is because of the old cpu core, and can likely not be fixed without migrating to the new one.
** The Japanese C64 has "C= lock" instead of "Shift Lock" (the keyboard is physically different)
* banking in the monitor is broken
====C510====
* In the C510 emulation the VIC-II timing is not exact, i.e. the stopping of the CPU during bad lines is wrong.
* The C510 emulation uses the old VIC-II core which means no cycle exact sprite collisions, no inline gfx changes, and probably more.


====C6x0/7x0====
=====Cartridge System=====
* when running the burn-in diagnostic tests, the CIA is reported as bad ( https://sourceforge.net/tracker/?func=detail&aid=3102493&group_id=223021&atid=1057617 )


===xpet===
''note: the detailed todo list/status is [[cartsystem|here]].''


* When running the "8296d diagnostic" test of the 8296 system disk on "xpet -model 8296" some tests fail:
* some carts have no snapshot support yet (still broken: Magic Voice, MMC Replay, RR-Net MK3, Ethernet.)
** when TDE is enabled, the program will hang. when TDE is disabled, the IEEE interface status will be reported as bad
** IDE64 & ATA system can only handle "readonly" snapshots now. Somehow the image file must be matched to the snapshot to prevent corruption.
** the userport is reported as bad (perhaps some dongle is needed?)
** MMC64 snapshots do not include the SD-card
''note: run like this: "xpet -model 8296 -drive8type 8050 -8 8296d-systemdisk.d82 -editor edit-4-80-b-50Hz.901474-04.bin". the "burnin8296" program seems to be an older version of the "8296d diagnostic" program. it runs when TDE is enabled, but the 50Hz irq test fails.''
* some carts do not work 100% yet (still broken: Magic Voice, MMC Replay.)
* break- and watchpoints in zeropage are broken. this is because of the old cpu core, and can likely not be fixed without migrating to the new one.
** Magic Voice: emulation of the speech chip is incomplete (see [[Todo#t6721a]]), this breaks some words included in the magic voice rom and the "a-bee-c" cartridge. Memory mapping is incomplete/broken (which however affects no known software/testcase).
* some combinations of selected (CRTC) model and "double size" mode give not the correct/expected result.
** MMC Replay: only the BIOS mode works right now; the monitor may incorrectly access cartridge memory (even) if "bank cart" is explicitly set
* some combinations of selected keymap and keyboard model do not work because of missing keymaps
* the (very strange, and incompatible with most cartridges) passthrough port of the SFX sound expander is not emulated
* various cartridges have no support for verbose i/o dump in the monitor
* Passthrough port functionality depends on ordering of cartridge attaches, especially visible from the command line. (e.g. MMC64+RR ok, RR+MMC64 not)
* '''TODO:''' IDE64 is missing a "make HD image read only" resource
* '''TODO:''' IDE64 saves its config data into vicerc - it should use a bin image like every other cartridge


----
----
====x128====


===Ports / UIs===
* Support for fast mode (2MHz) is implemented but incomplete, detailed information about the stealing of cycles by the VICII when switching back from fast mode is missing and therefor the emulation of it is incorrect.
* the relative speed and details like cycle-stealing of the z80 is inaccurate ( https://sourceforge.net/tracker/?func=detail&aid=3476760&group_id=223021&atid=1057617 )
: xmx provided a test program, see testprogs/c128/z80/cycletimer
* CPU history (chist) implementation is incomplete
* should get rewritten to use the new 6510 "sc" core


* Screenshots with activated PAL emulation do not deliver the expected (blurry) result.
----
* In the C128 emulation VIC-II and VDC palette can not coexist currently in some ports.
* The CBM-II emulation is not fully supported in all ports.


====Windows====
====xvic====


* In the win32 port keyboard input can be garbled after issuing a reset on CPU JAM.
* programs that do not work for unknown reason:
* the device buttons in the monitor ui are broken ( https://sourceforge.net/tracker/?func=detail&aid=2478267&group_id=223021&atid=1057617 )
** "Grave Cave" ( https://sourceforge.net/tracker/?func=detail&aid=3297561&group_id=223021&atid=1057617 )
* keymap selection in xpet seems to be broken ( https://sourceforge.net/tracker/?func=detail&aid=3127784&group_id=223021&atid=1057617 )


=====Win32 DX9=====
----
* There is a bug when moving the window partly outside the left edge of the screen. The rendered contents seem to "lock" to the left border. This seems to depend on the driver of the gfx adapter as is only shows on some machines.


=====Windows 7=====
====x64dtv====
* there seems to be a problem with ParSID ( https://sourceforge.net/tracker/?func=detail&aid=2981666&group_id=223021&atid=1057617 )
<big>The DTV emulator is very inaccurate and is in need of a partial rewrite. Maintainer wanted!</big>


====X11 (XAW and GTK)====
* Misery 3: (http://noname.c64.org/csdb/release/?id=83196)
** fails emudetect
** plasma part is missing badlines
* switching VICII border mode resets x64dtv ( https://sourceforge.net/tracker/?func=detail&aid=3004255&group_id=223021&atid=1057620 )
* CPU history (chist) implementation is incomplete
* the "PS/2 Mouse at Userport" should get refactored to be a regular Userport device in the common Userport system
* "enable Userport Joystick" vs "Hummer Userport Joystick" is strange and confusing, especially since in the DTV emulator we dont even have a "UserportJoyType" selection. the regular "DTV Joystick on Userport" should become a regular Userport device.


* The custom TextField widget is buggy and can cause crashes on DEC/Alpha machines, and possibly on other systems too. If you get weird X protocol errors or the file selector makes the emulator die when you close it, this might be the cause.
----
'''Workaround''': recompile with the `--disable-textfield' option.  If it still does not work, please tell us.
====xplus4====
* Aspect ratio/scaling is broken in fullscreen mode when hardware rendering is enabled (canvas is always stretched to fill the entire screen)
<big>The plus4 emulator is generally work in progress and not yet "ready". Maintainer wanted!</big>
* the mouse pointer is incorrectly un-grabbed when switching from/to fullscreen with the mouse- or lightpen emulation enabled.
* support for Snapshots is incomplete/broken (TED, PIA, V364 Speech, ...) ( https://sourceforge.net/tracker/?func=detail&aid=2878220&group_id=223021&atid=1057617 )
* emulation of the V364 speech chip is incomplete (see [[Todo#t6721a]])
* CPU history (chist) implementation is incomplete
* should get rewritten to use the new 6502 "sc" core
=====Cartridge System=====
* handling of the c0/c1/c2 roms is weak
** cartridges share the same roms as internal roms
** roms are not removed from the memory map if not present (just cleared)
* "mmu" memory translation table handling is not implemented for cartridges
* snapshot implementations are completely untested


=====Vidmode=====
----


* lightpen coordinates are not accurate when using vidmode for fullscreen
====xcbm2====


=====GTK=====
* The CBM-II emulator, when the execution bank is set to an open memory bank, sets the zeropage and stack access to unmapped, but actually existing memory. This is a bug but cannot be avoided with the current CPU code architecture
* when running the burn-in diagnostic tests, the CIA is reported as bad ( https://sourceforge.net/tracker/?func=detail&aid=3102493&group_id=223021&atid=1057617 )
: ''note: run like this: xcbm2 -model 610 -ntsc -drive8type 8050 -virtualdev +truedrive -8 cbm2-burnin.d80''
* CPU history (chist) implementation is incomplete
* should get rewritten to use the new 6502 "sc" core
===== Cartridge System =====
* not implemented yet


* Gnome/GTK+ commandline is ignored.
----
====xcbm5x0====
* The emulator, when the execution bank is set to an open memory bank, sets the zeropage and stack access to unmapped, but actually existing memory. This is a bug but cannot be avoided with the current CPU code architecture.
* In the C510 emulation the VIC-II timing is not exact, i.e. the stopping of the CPU during bad lines is wrong.
* The C510 emulation uses the old VIC-II core which means no cycle exact sprite collisions, no inline gfx changes, and probably more. See [[x64_Bugs|here]] for details.
* CPU history (chist) implementation is incomplete
* should get rewritten to use the new 6502 "sc" core
===== Cartridge System =====
* not implemented yet


=====XAW=====
----
====xpet====
* When running the "8296d diagnostic" test of the 8296 system disk on "xpet -model 8296" some tests fail:
** when TDE is enabled, the program will hang. when TDE is disabled, the IEEE interface status will be reported as bad
** the userport is reported as bad (perhaps some dongle is needed?)
: ''note: run like this: "xpet -model 8296 -drive8type 8050 -8 8296d-systemdisk.d82 -editor edit-4-80-b-50Hz.901474-04.bin". the "burnin8296" program seems to be an older version of the "8296d diagnostic" program. it runs when TDE is enabled, but the 50Hz irq test fails.''
* some combinations of selected keymap and keyboard model do not work because of missing keymaps
** also the keymaps must match the "editor" ROM - currently only the UK (Business) ROM in included in VICE
** the keymaps for US (host) keymap need to be checked and fixed
* CPU history (chist) implementation is incomplete
* should get rewritten to use the new 6502 "sc" core


* Some DEC/Alpha machines crash due to the XAW implementation.
----
'''Workaround''': Compile VICE with GNOME support `--enable-gnomeui' instead.
===SC Rewrites===
* Context popup menu for drive attach is broken if more than two drives are active.


====MS-DOS====
As a long term goal, everything should be rewritten to use the new "sc" cpu cores (and the non sc cores removed):


* In the MS-DOS port you have to save the configuration and restart the emulator when changing VDC double size mode.
* Migrate emulators to the cycle based CPU core (6510dtvcore.c, should be renamed), which allows:
** cycle based hooks for complex hardware expansions (SCPU)
** in-line graphics data change emulation (see testprogs/VICII/gfxfetch)
** cycle exact Blitter/DMA vblank start and proper LinearA/B counter handling on x64dtv
** cycle based drawing
* ...and requires (at least):
** rewrite video chip modules to use:
*** cycle based fetch/etc (VIC & VICII done, VICII-DTV in progress)
*** cycle based drawing (VICII done)
** remove 1 clock write offsets (at least CIA/VIA already handled)
** an insane amount of regression testing (preferably with new testprogs where needed)


====AROS====
----


* VICE 2.2a has no sound on AROS ( https://sourceforge.net/tracker/?func=detail&aid=2954913&group_id=223021&atid=1057617 )
== Tools ==
=== c1541 ===


====*BSD====
* handling of .d81 CBM sub partitions and CMD DIR subdirectories is broken due to the way disk images are handled.
** accessing files does not work ( https://sourceforge.net/tracker/?func=detail&aid=3367519&group_id=223021&atid=1057617 )
** listing directories does not work ( https://sourceforge.net/tracker/?func=detail&aid=3367517&group_id=223021&atid=1057617 )
: ''unfortunately to fix this a lot of c1541 will have to be rewritten (mount image only once, not for each operation)'' [[User:Gpz|Gpz]] ([[User talk:Gpz|talk]]) 23:57, 13 December 2012 (UTC)
* since virtual drive emulation does not support REL files on the host filesystem, c1541 can not extract them to R00 files ( https://sourceforge.net/p/vice-emu/bugs/702/ )


* Vice 2.2 seg faults on startup on freebsd 8 stable ( https://sourceforge.net/tracker/?func=detail&aid=2991578&group_id=223021&atid=1057617 )
* <s>Remove optional dependency on libreadline once linenoise-ng has been tested properly.</s>
* serial device hangs on open() in NetBSD 5.0.2 ( https://sourceforge.net/tracker/?func=detail&aid=3043294&group_id=223021&atid=1057617 )
:: See if linenoise-ng can be made to work with the MSYS2 shell, which would help with debugging c1541.


====BeOS====
----
==Ports==


* sound code consumes unnecessary cpu time ( https://sourceforge.net/tracker/?func=detail&aid=3135512&group_id=223021&atid=1057617 ) causing bad performance
Some of the mess isn't ours! See here for [[Upstream bugs]].
* Sometimes the application loses the keyboard focus; no keystrokes are accepted inside the emu, so the emulator has to be restarted.
* Sound problems on slower machines (P100) with a non-official driver for sb16.
* The monitor only works if you start the emulator from a terminal; if you start the emu from tracker and enter the monitor, you are "lost"
* Fullsrceen mode is not implemented.


====GP2X====
===archdep===


* The GP2X port segfaults at start.
* '''TODO:''' allow browsing of archives (zip etc) ( https://sourceforge.net/tracker/index.php?func=detail&aid=2942868&group_id=223021&atid=1057620 )
note: this port is unmaintained and because of that subject for removal.


====Dingux====
====Windows====


* uses preset sdl-vicerc files which are unmaintained and thus could fail. At least sdl-vicerc-cbm5x0 is obsolete and broken due to the config split.
* '''TODO:''' the native (console based) monitor does not work in windows
note: this port is unmaintained and because of that subject for removal.


----
----


==New Features==
===GTK3 UI===
 
This is a list of things to do and bugs to fix. This is no way an exhaustive list, to get a better understanding of what needs to be fixed/altered, run this command inside VICE's top dir: <code>grep -n 'FIXME\|TODO\|XXX' `find src/arch/gtk3 -name '*.c'`</code>, and be amazed.
 
* <b>Write documentation on how to use the UI</b>
* '''TODO:''' Add support for non-ASCII characters in the various file/path dialogs (snapshot, maybe even the various cartridge image/eeprom paths and the machine/drive ROM paths) (fixed?)


This is the place for the VICE developers to put down ideas about the future development of VICE.
The list of covered resources is [[Gtk3_Resource_Coverage|here]]


Some of these ideas might never be realized, and might look completely absurd, but they could be the inspiration for other ideas.
==== Main window(s) ====


By putting these ideas down they will be known to any other developers that would like to pick up one of the ideas and implement it.
* '''TODO:''' make sure both hard- and software rendering match whats described in [[Scaling_cleanup]] - if so, the page can be cleaned out
:: Implemented, but only for a single display, no multi-display support yet. GDK seem to support multi-display setup querying, but we'd actually have to write code and test this to see how GDK handles this, if at all. (fixed?)
** do not forget the VDC and the Monitor windows (fixed?)
:: VDC is handled, the monitor windows isn't, there aren't any resource for the monitor window, nor any event handlers. Another wish seems to be to put the VICII and VDC window next to each other for x128, which will probably mean introducing yet another resource to control this and override the Window1* resources. Probably some enum: USE_WINDOW1* = -1, ABOVE, BELOW, LEFT, RIGHT. And hope the Window Manager actually listens to our requests to move said window.


also look at [https://sourceforge.net/tracker/?limit=100&func=&group_id=223021&atid=1057620&assignee=&status=1&category=&artgroup=&keyword=&submitter=&artifact_id=&assignee=&status=1&category=&artgroup=&submitter=&keyword=&artifact_id=&submit=Filter&mass_category=&mass_priority=&mass_assignee=&mass_artgroup=&mass_status=&mass_cannedresponse= Tracker: open Feature Requests]
* '''BUG:''' mouse grab (when mouse emulation is enabled) is not perfect. eg when the emulator is started with mouse enabled, the pointer is not initially moved into the emulator window.


===general===
==== Statusbar ====


* native screenshot support. (in progress)
* '''BUG:''' On MacOS and Windows, the slider popup widget is hidden behind the rendered canvas, on Linux this works as it should. So currently the volume widget is disabled on MacOS and Windows
* script language integration. (lua or python perhaps)
* Allow tape loading without the virtually pressed "Play" button, which can break some programs that do not like it to be pressed (e.g. Turbo Assembler).
* Some more Kernal patches, for instance for changing colors and patching the reset routine to make it faster (maybe configurable).
* proper support for paddles (https://sourceforge.net/tracker/?func=detail&aid=2686763&group_id=223021&atid=1057620)
* integrate a rs232->telnet codepath (https://sourceforge.net/tracker/?func=detail&aid=3033061&group_id=223021&atid=1057620)


====Sound System====
==== Dialogs ====
* '''TODO''': Polish the keyset dialog: <s>at there very least split the UI into a 3x3 grid for the directions and a 4x2 grid for the fire buttons</s>. Maybe use icons for the direction if they're in the default Gtk icon set.
:: Only arrow icons for North, West, South and East are available. Gtk3 used to have a [https://docs.gtk.org/gtk3/class.Arrow.html GtkArrow] class, but that has been deprecated since 3.14 and removed from 4.x. So we'll have to write our own (which should also prove useful for joystick mapping widgets).


* the sound system currently only handles mono streams. it should be rewritten to work in stereo. needed to eg fix (https://sourceforge.net/tracker/?func=detail&aid=2483496&group_id=223021&atid=1057617)
==== Settings ====
* some kind of generic interface to handle audio input is required to handle sampler carts


====Video System====
* '''TODO:''' HardSID settings are missing


* some kind of generic interface to handle video input is required to handle scanner/digitizer type of carts
=====ROMsets=====


===Hardware emulation===
* a generic function should be created which scans the data directory of the emulator and returns a list of all .vrs files for the UI
** then the UI can use said list in a dropdown list for quick selection


====x64====
* '''TODO:''' ROM-set manager/settings need to be reworked and fixed. ROMset "archives" should be removed completely. see [[#ROMsets]]


* internal (?)
===== CBM2 model (xcbm2/xcbm5x0) =====
** c64/c128 1.44 MB disk drive support. ([http://www.market.croadria.com/c64/c64diskTR20.shtml])
** c64/c128 SCSI expansion support. ([http://www.zimmers.net/anonftp/pub/cbm/documents/projects/scsi/index.html])


* Cartridges
* '''TODO:''' Check model settings glue logic.
** IDE64 improvements
:: Mostly works, the 50/60Hz switch is a problem. I'll need someone with some actual CBM-II knowledge to help me out here. [[User:Compyx|Compyx]] 2020-01-08
*** IDE64 cdrom/iso support.
*** IDE64 eth64 shortbus expansion support. ([http://www.volny.cz/dundera/eth64.html])
*** IDE64 duart shortbus expansion support. ([http://www.volny.cz/dundera/duart.html])
** SFX sound sampler improvements
*** SFX sound sampler audio input support. ([http://www.floodgap.com/retrobits/ckb/secret/sfx.html])
** Clockport improvements
*** Silversurfer (UART) support ([http://rr.c64.org/wiki/Inside_Surfer.txt])
*** mp3@c64 support
** Community Information Locator Commodore 64/128 addon cartridge ([http://starbase.globalpc.net/~jbevren/kiosk/writeup.txt])
** Pagefox cartridge ([http://www.c64-wiki.de/index.php/Pagefox])
** RAM Floppy (REX) support
** Daisy Sound sampler audio input support. ([http://www.cbmhardware.de/dlmanager/download.php?id=243])
** PS64 speech cartridge support. ([http://oms.wmhost.com/ps64/])
** Voice Messenger speech cartridge support. ([http://www.c64-wiki.de/index.php/Voice_Messenger])
** ramlink support. ([http://unusedino.de/ec64/technical/aay/c64/rlmain.htm] [http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/ramlink.rar])
** ramdrive support.
** rtc (ds12c887) support. ([http://web.archive.org/web/20080616182546/http://members.elysium.pl/ytm/html/rtcds12c887.html]) (in progress).
** z80 (cpm) cartridge support. (4Mhz z80)
** turbo master cartridge support (4Mhz 65C02). ([http://headgap.com/Library/64/4%20MHZ%2064.txt] [http://members.optusnet.com.au/vortex69/DRIVERS/CPU-TURBOMASTER.jpg])
** turbo process cartridge support (4Mhz 658156). ([http://retroisle.com/commodore/c64128/Utilities/rmtp.zip6] [http://www.zimmers.net/anonftp/pub/cbm/documents/projects/accelerators/turboprocess/index.html])
** flash-8 cartridge support (8Mhz 65816). ([http://www.spacetaxi.bravehost.com/DRIVERS/FLASH-8.rar])
** SCPU cartridge support (20Mhz 65816). ([http://unusedino.de/ec64/technical/aay/c64/scpumain.htm] [http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/SuperCPU.zip]) (https://sourceforge.net/tracker/?func=detail&aid=2030692&group_id=223021&atid=1057620)
** The Final Chesscard (65c02) ([http://www.cbmhardware.de/misc/c64parts.php])
** german BTX cartridge (6809)
** SoftPROM cartridge ([http://www.c64-wiki.de/index.php/SOFT-PROM])
*** somewhat pointless imho, unless software specifically designed for this cart can be found (which i doubt). other than that its just an ordinary 8k game cart (with battery backed up ram instead of rom). [[User:Gpz|Gpz]] 23:01, 30 October 2010 (UTC)
** Net64 cartridge support. ([http://www.harbaum.org/till/c64/index.shtml])
*** this is exactly the same as "the final ethernet" (which is emulated) [[User:Gpz|Gpz]] 23:27, 30 October 2010 (UTC)
** MasC=uerade Cartridge Converter support, this cart is originally intended to use c64 carts on the vic20, but in theory could also be used the other way around. ([http://www.go4retro.com/projects/converter/])
** BI-80 cartridge support. ([http://mikenaberezny.com/hardware/peripherals/bi-80-display-adapter/])
** Buscard II IEEE488/printer-port cartridge support. ([http://mikenaberezny.com/hardware/peripherals/buscard-ii-ieee-488-interface/])


* Userport
===== Joysticks =====
** C64 RTC 58321 (userport) ([http://www.cbmhardware.de/misc/c64parts.php])
** CBM1660 (userport) modem300 support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/swift-a.rar])
** CBM1670 (userport) modem1200 support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/swift-a.rar])
** FB-RS232 (userport) support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/swift-a.rar])
** c64 p64 midi interface: ([http://www.firestarter-music.de/prophetcart/p64_fullmidi_V1_1.jpg])
** Scantroniks handscanner (userport) support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/scanner.rar])
** Video Byte II video digitizer (userport) support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/video-digitize.rar]) ([http://moogle-tech.com/blog/?p=104])
** Computera Eyes video digitizer (userport) support. ([http://www.spacetaxi.bravehost.com/DRIVERS/Computer%20eyes.zip] [http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/COMPUTER-EYES-64.zip])
** Userport RocketDrive support. ([http://www.cbmhardware.de/avr/homepage.html])
** CIA-IDE-HD support. ([http://members.optusnet.com.au/vortex69/PC-HARDWARE/CIA-IDE-HD/CIA-IDE-HD.html])
** Aprotek universal rs232 adapter support. ([http://mikenaberezny.com/hardware/peripherals/aprotek-universal-rs-232/])


* Joystick Port
see [[Joymappings]]
** BB-RTC (joystick port 2) support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/bb-rtc.rar])
** C64 smartmouse RTC support.
** c64/c128 numeric keypad support. ([http://www.64hdd.com/projects/c64-proj3.html])
** c64/c128 pc-joystick support. ([http://members.elysium.pl/ytm/html/projects.html])
** datel 3-button mouse support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/1351a.rar])
** Koala-pad support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/koala-pad&Animation%20station.rar])
** Covox Sound Master audio input (joystick port) support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/voicemaster.rar])
** animation station support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/koala-pad&Animation%20station.rar])
** Power-pad support.
** super sketch support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/super-sketch.rar])


* Tape Port
==== vsid ====
** RTC64 support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/RTC64.rar])
** Access dongle (Leaderboard/10th Frame) (https://sourceforge.net/tracker/?func=detail&aid=3030703&group_id=223021&atid=1057620)


* Video output.
* '''BUG:''' Fix drag-n-drop behaviour, dragging multiple SID files onto the playlist widget works, but on Linux at least, dropping a SID file on the STIL view widget doesn't work (specifically the GtkTextView), this works on Windows oddly enough.
** c64 LCD64 screen support. ([http://www.64hdd.com/projects/c64-proj3.html])


====x128====
* '''BUG:''' STIL view: some tunes (for example Last Ninja 2) print empty "tune #x" entries, so you'll get "Tune #1" in blue and a few empty lines, in the case of LN2 this goes on until tune #6. Most likely a bug in the use of hvsclib, not the lib itself.
 
* '''TODO:'''Playlist: allow keyboard navigation. Perhaps also multi-select via Ctrl or Shift to delete multiple entries?
 
* Add some sort of tree-based file browser (preferably using the HVSC as the default dir) to allow quick tune selection and help with building a playlist (ie via drag-n-drop)


* c128 plus60k support.
* Add HVSC BUGlist support to VSID
* c128 plus256k support.
:: Support for this is available in src/hvsc, but there are very few actual entries in the BUGList.txt file. Maybe skip this one?
* c128 256K memory expansion hack support.


====xvic====
* Update mixer sliders to use proper units etc like the mixer sliders in the other emus
* VIC20 RTC cartridge support. ([http://jledger.proboards.com/index.cgi?board=microhacking&action=display&thread=2381])
* vic20 iec2ata support. ([http://www.djupdal.org/cbm/iecata/])
** pointless to emulate, as it is a simple iec device, very similar to what you get when using virtual drive on the filesystem. [[User:Gpz|Gpz]] 05:08, 15 August 2010 (UTC)
* vic20 ethernet support. ([http://members.lycos.co.uk/leeedavison/6502/vic20/network/index.html])
* MasC=uerade Cartridge Converter support. ([http://www.go4retro.com/projects/converter/])


====xplus4====
==== Monitor ====
* plus4 digiblaster audio input support. ([http://www.solder-synergy.net/plus4/hardware/makers/ioarea.txt])


====xpet====
The GUI based monitor currently uses a mercylessly hacked VTE library. When we looked for a way to put the monitor into a console window that works with GTK3, this seemed to be the only way to do it. The ugly hacks were required to make VTE compile and work on windows. This is also why we cant use a more modern version of the VTE library.
* PET ROM-socket RTC support. ([http://jledger.proboards.com/index.cgi?board=microhacking&action=display&thread=2381])
* 8296 pet hardware ram lines connected to userport support.
* 8296 RAMdisk 2008 support. ([http://www.cbmhardware.de/cbmrd2008/index.php])
* 8296 pet switchable 4 screens output support.
* superpet 6809 support. (https://sourceforge.net/tracker/?func=detail&aid=2809360&group_id=223021&atid=1057620)
* pet IEEE488 -> IDE/RS232 support. ([http://petcbmide.blogspot.com/])
* High-Res Technologies Graphics Board support. ([http://mikenaberezny.com/hardware/projects/high-res-technologies-graphics-board/])
* MTU K-1002-2 DAC sound system support. ([http://mikenaberezny.com/hardware/peripherals/mtu-k-1002-2-dac/])


====xcbm2====
* '''TODO:''' On the long run, we will have to write a custom renderer for a monitor window, which supports all the things we need to implement a classic "fullscreen editor" like ml monitor.
* cbm2 z80 support.
* '''TODO:''' Again as a long term goal, we might want to support transparent support for native charsets
* cbm2 8088 support.


====Drives====
for some info on the monitor ui see: [[MonitorUI]].


* add support for dual disk drives
==== macOS ====
* add drive noise emulation (https://sourceforge.net/tracker/?func=detail&aid=2915830&group_id=223021&atid=1057620)
* IEC
** CMD harddrive support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/cmd-hard.rar])  (https://sourceforge.net/tracker/?func=detail&aid=2786810&group_id=223021&atid=1057620)
** CMD FD2000/FD4000 support (https://sourceforge.net/tracker/?func=detail&aid=2786810&group_id=223021&atid=1057620)
** IEC2IEEE/RS232C adapter support. ([http://mikenaberezny.com/hardware/projects/interpod-ieee-488-interface/])
* IEEE
** D9060/D9090 CBM harddrive support. ([http://members.optusnet.com.au/spacetaxi64/DRIVERS/DRIVER-FILES/D9090-D9060.rar])
** MiniChief type harddrives support. ([http://www.zimmers.net/anonftp/pub/cbm/manuals/drives/MiniChief.zip])
** MW1000 HD support. ([http://members.optusnet.com.au/vortex69/HD-HISTORY/SSEL.doc])
** Alpha20 HD support. ([http://members.optusnet.com.au/vortex69/HD-HISTORY/Apstor-20-SBS.doc])
** Alpha10 HD support. ([http://members.optusnet.com.au/vortex69/HD-HISTORY/Alpha-10.doc])
** Borsu20 HD support. ([http://members.optusnet.com.au/vortex69/HD-HISTORY/BORSU-20mb.doc])
** HardBox HD support. ([http://members.optusnet.com.au/vortex69/HD-HISTORY/Hardbox.doc])
** Mator Shark HD support. ([http://mikenaberezny.com/hardware/peripherals/mator-shark-hard-drive/])


===Printers===
* '''TODO:''' joystick_ui_get_next_device_name should return the detected joysticks instead of the predefined list (fixed?)
* IEC
** DPS1101 support.
** MPS802 support.
** MPS803 support.
** MPS1000 support.
** MPS1250 support.
** Fidelity Impact Printer support. ([http://mikenaberezny.com/hardware/peripherals/fidelity-impact-printer/])
* IEEE
** MPS1361 support.
** CBM1520 support.
** CBM1526 support.
** CBM4022 support.
** CBM8023 support.
** CBM8024 support.


==new Ports/GUI improvements==
* '''TODO:''' Make the GTK UI create/use the macOS style "top menubar"


* Make a list of GUI elements/features per port, compare and implement any missing features for the ports.
* '''TODO:''' joy-osx.c contains a lot of resources and commandline options that should not be there, but live in common code instead. this needs some refactoring to make game controllers work the same in all ports


* Debug/fix the XBOX SDL port.
==== OpenGL ====
* Debug/fix the RiscOS SDL port.
* '''TODO:''' The OpenGL renderer should transform itself into a Cairo renderer if the system doesn't support OpenGL. (fixed?)
* Debug/fix the Windows-CE SDL ports.
** Stretch goal: the OpenGL renderer should fall back to legacy mode (the SDL renderer) if GTK3 itself has, instead of failing.
* Completely update the RiscOS GUI.
* '''TODO:''' Do-not-scale option. Important for Cairo renderer, possible for OpenGL.
* Completely update the GP2X GUI.


===GTK===
==== Stretch goals ====


* add "commandline options" help window (like in the windows port)
* Make 'smart cartridge attach' dialog smarter when attaching .bin images, show only valid cartridge types when selecting a cart image.
* add Drag'n'Drop support
** '''TODO''': this needs a new API call that returns the valid sizes for a given type
* add Session Management
* make an option to force display size to 1x/2x/3x/4x
* improve Tape status widget, (.TAP vs .t64) handling is lousy.
* make a GUI based editor for keymaps
* implement Monitor GUI
* add statusbar indicators for cartridge LEDs.
* add VIC20 Cartridge attach heuristic for image pairs


===XAW===
----


* add "commandline options" help window (like in the windows port)
===SDL UI===


===AROS===
* <b>Write documentation on how to use the UI</b>
* '''BUG:''' FFmpeg media recording behaves unexpected when entering the menu [https://sourceforge.net/p/vice-emu/bugs/898/]
* '''TODO''': get rid of fullscreenarch.h and fullscreen.c - its no more required because SDL can do all of the features fine.


* add PCI support for catweasel and hardsid
====Menus====
* '''TODO:''' some menu items need status text to show that the action has been done.
** Drive>Fliplist settings>Add current image to fliplist
** Drive>Fliplist settings>Remove current image from fliplist
** Drive>Fliplist settings>Attach next image in fliplist
** Drive>Fliplist settings>Attach previous image in fliplist
* '''BUG:''' at a lot of places "inactive" (as in "cant be selected") menu items are missing the "N/A" on the right
* '''TODO:''' A better way of showing filenames (maybe using contraction) needs to be made


===MSDOS===
====Datasette====


* add PCI support for catweasel and hardsid
*'''TODO:''' add menu items for "Reset datasette counter" (UI action handlers have been added in the "compyx/sdl-uiactions" branch)
* add real IEC device support via par port or ser port
* add proper lfn detection


===new ports===
====Joysticks====


* windows-ce X11 support.
see [[Joymappings]]
* amiga X11 support.
* RiscOS X11 support.
* Port to Plan9
* Port to win16
* Port to win32s (maybe by using windib)
* Port to macos classic (8.x/9.x).
* Port to VersaDOS
* Make OS/2 SDL port.
* Make atari mint SDL port.
* Make macos classic SDL port.
* Make dreamcast SDL port.
* Make GP32 SDL port.
* Make PSP SDL port.
* Make WII SDL port.
* Make PALMOS SDL port.
* Make GBA SDL port.
* Make NDS SDL port.
* Make PS2 SDL port.
* Make GameCube SDL port.
* Make VAX OpenVMS SDL port.
* Make ALPHA OpenVMS SDL port.
* Make HPPA OpenVMS SDL port.
* Make Symbian OS SDL port.
* Make XBOX360 SDL port.
* Make Ipod/Iphone SDL port.


==Rewrites==
====Monitor====
* '''TODO:''' implement a scrollback buffer


* Split xcbm2 into a 5x0 binary and 6x0/7x0 binary.
====File Selector====
* Split the vsid mode off from x64, making vsid a seperate binary.
* '''TODO:''' add filtering in file requester
* The "sc" rewrites. Migrate emulators to the cycle based CPU core (6510dtvcore.c, should be renamed), which allows:
** cycle based hooks for complex hardware expansions (SCPU)
** in-line graphics data change emulation (see testprogs/VICII/gfxfetch)
** cycle exact Blitter/DMA vblank start and proper LinearA/B counter handling on x64dtv
** cycle based drawing
* ...and requires (at least):
** rewrite video chip modules to use:
*** cycle based fetch/etc (VIC & VICII done, VICII-DTV in progress)
*** cycle based drawing (VICII done)
** remove 1 clock write offset in CIA etc (at least CIA/VIA already handled in trunk)
** an insane amount of regression testing (preferably with new testprogs where needed)


==Documentation==
====Virtual Keyboard====
* '''TODO:''' shift/cbm/ctrl should be "sticky" (right now shifted keys are entered using backspace/cancel - which is odd)
* '''TODO:''' the virtual keyboard handling of the SDL port must be updated/fixed to support all PET keyboards


* Update the *nix documentation
==== VSID ====
* proper and specific win32 documentation. (.chm format)
* '''TODO:''' Implement a playlist for VSID
* proper and specific amiga documentation. (.guide format)
* '''TODO:''' Add HVSC song length database (SLDB) support to VSID (<s>both .txt and</s> .md5 file format)
* proper and specific BeOS documentation.
* '''TODO:''' Add HVSC sid tune information list (STIL) support to VSID
* proper and specific MSDOS documentation. (.txt format)
* '''TODO:''' Add HVSC BUGlist support to VSID
* proper and specific OS/2 documentation.
* proper and specific RiscOS documentation.
* proper and specific SDL documentation.


==Translations==


* Support for more languages.
[[Category:TODO]]
* Translation support for BeOS.
* Translation support for MSDOS
* Translation support for OS/2
* Translation support for RiscOS.

Latest revision as of 18:40, 31 December 2023

This is the list of known problems. also look at Tracker: open Bugs

This list always refers to the status of the last major release version, which was 3.8. Items that have been fixed by the time of a major release will be removed, items fixed after that will be marked as fixed and stay until the next major version. New items will be added as noticed.

Prime Directive

  • All developers shall subscribe to the vice-emu-mail mailinglist and perhaps join #vice-dev on freenode too (highly recommended).
  • Please respect the coding guidelines.
  • Document your code so other people than you are able to understand and fix it in a decade or two.
  • When adding/changing stuff that needs (G)UI items/changes, all developers should update the SDL and GTK3 UIs themselves, and immediately following their respective changes.
  • When adding/changing command-line options and/or resources, adding a new feature or change the behavior of an existing feature, please update the documentation.
  • After fixing a bug or implementing a new feature, update its status on the Bug Tracker and mark it as fixed in the TODO list below.
Only remove a bug/feature from this list when it was fixed/implemented in the latest stable release.
  • And most importantly...
 <@_tlr> Please at least test the issue you were trying to fix before committing.
That means: you break it, you fix it. Do not commit deal breaking changes without communicating it with the rest of the team. Generally regressions are not acceptable and respective commits are subject to be reverted.

Testbench

  • many test programs (mostly for vic20) are not yet integrated into the automatic testing
  • TODO: fix the reference screenshots and/or the scripts so they dont rely on the "normal" rendering mode anymore
  • TODO: make a test program to determine visible screen dimensions
  • TODO: make a test program to determine the type of delay line used for a PAL screen (UV or U only)

autostart problems

  • x128 does not autostart prg files correctly when also a cartridge is attached (that forces c64 mode)

Emulators

Subsystems

Keyboard

  • When a key which is shifted on the real machine but unshifted on the PC or Unix keyboard you are using is pressed, the virtual shift is pressed together (i.e. at the same clock cycle) with the main key; this could not work with some keyboard routines.
Workaround: If you have to use the function keys, press the (real) shift key manually (e.g. F2 = Shift + F1, F4 = Shift + F3 and so on); this also works with other keys. In any case, using a positional keymap will remove much of this problem.
  • Some ports/emulators/keyboard-types do not have all required keymaps (and a fallback will used) - look at Keymaps for details
  • Although "shift lock" can be mapped to a key, not all ports and/or emulators support it due to missing keymaps and/or implementation details.
TODO: check ports and fix or at least add a comment in the keymaps
  • contact-bounce is not emulated
TODO: make a proper test program

Joystick

WIP Joymappings

  • contact-bounce is not emulated
TODO: make a proper test program

Monitor

  • TODO: Breakpoints/watchpoints should consider banks, and perhaps PLA/MMU config
  • banking should somehow work also with cartridges. for this some generic interface in the cartridge system needs to be created
Profiler

The new profiler feature is still incomplete ( https://sourceforge.net/p/vice-emu/patches/350/ )

  • support for banking (main CPU) is only implemented in x64(sc) right now
    • banking should somehow consider cartridge banks, once we have generic support for it in the monitor
  • perhaps additional stats for "stolen cycles" (cycles used by the VICII) can be added
  • branch taken / not taken statistics
  • support for drive CPUs is missing
  • support for other CPUs than 6502 is missing
  • binary remote monitor commands need to be implemented (perhaps once more of the above works, so we know how these must look like)
Binary Interface

The binary interface has a few design issues that should be fixed

  • Command 0x84 (get display) has several issues:
    • The first parameter should probably not be a boolean ("is this VICII?"), but "videochip number", with 0 being VICII and 1 being VDC on C128. Further Videochips could be added then (eg if we ever implement the BTX cartridge). Perhaps for compatibility reasons we start counting at 1, and make "0" a special parameter for "current one" I'm not sure what to do with this so I'm leaving it alone for the time being.

Also, the Documentation has some issues:

  • At some places it uses &foo and *bar to refer to "length" and a block of data(?). This is really weird and should be removed / replaced by something that is more clear.

Last not least the binmontest program needs cleanup, so it can serve as an example program:

  • Magic values are used for offsets at various places. It should use constants instead. Ideally, a common header file is used for both the test-program and the VICE code itself
  • More comments are needed in place of the various checks

History Recording

  • history recording currently breaks on a lot of user actions, such as using autostart or attaching a cartridge.
Workaround: make sure to start up with a bog standard c64, and then load/run the program in question manually

note: since history recording is very error prone and hard to debug, we depend on feedback (on either failure or success) on this topic very much. if you still have problems with the current release, please report them including testcases.

Screenshots / Media Recording

  • Screenshots with activated video filter (CRT emulation / Scale2x) do not deliver the expected (filtered) result.

Rendering

  • some things are still shared by videochips although they shouldnt be, resulting in conflicts for eg the color generation (visible in x128 in ports that show two windows at a time, when crt emulation is enabled, eg adjusting brightness affects also the other window)
  • TODO add a 4:3 fixed aspect ratio scaling mode
  • TODO when a test program has been written, adjust the "normal" border mode accordingly (CAUTION: fix testsuite first)
  • TODO put all border mode parameters into arrays, make a global function to query the parameters and modes (for UIs) and then add "TV" mode (like "normal", but not centered)
CRT Emulation
  • the rf-modulator output characteristics are not emulated, which means the so called "black bleeding" effect does not work (emusux0r, http://www.csdb.dk/release/?id=81780)
  • artefact color and luma/chroma crosstalk are not emulated (eg the "red/green stripes")

see http://hitmen.c02.at/temp/palstuff/ for some further info on this topic.

Drive Emulation

  • G64 image support is incomplete, the speedzone definitions are completely ignored
Note: this is no problem in practise, so far not a single title (game) could be located that would actually require this kind of support to work. Incase you find a program that needs this kind of support, please let us know.
  • RPM and Wobble settings have currently no effect when P64 images are used
virtual Devices
  • handling of CBM style sub partitions is incomplete, write operations on sub partitions may give unexpected results.
  • RELative files are only supported when using disk images ( https://sourceforge.net/p/vice-emu/bugs/703/ )
  • support for double sided disk images is very shaky, since no concept of disk sides exists and the tracks on the second side are referenced by an offset into the image, the handling of images with different number of tracks is needlessly hard and complicated (and thus broken).
  • the IEEE machines use the "virtual devices" for something slightly different than the IEC machines, for the IEEE machines its more like what "IEC Device" means for the IEC machines. This should be handled with a seperate resource similar to "IEC Device" in the other emulators.
True Drive Emulation
  • serial timing latency is not implemented. due to their physical properties, it takes about half a cycle for a value to show up at the respective output pin after it has been written to the register. and respectivly, it takes about half a cycle from changing an input pin until the value in the respective register changes.
  • mechanical delays (such as head stepping and motor spinup) are not emulated yet.
  • accessing device #7 on the IEC bus works (only real devices), but it only works if True Drive Emulation is OFF, even though this has nothing to do with drives. This needs to be fixed in TDE somehow.
generally the way device #7 is implemented as a special case that is different to devices 4-6 is questionable and should be made the same
1571
  • 2mhz mode of the 1571 is not handled correctly
    • drive CPUs always run at 1Mhz for all drives (hardcoded 1000000 at a few places)
    • 1571 has extra delay on on reading sync inside the drive, ("you cannot use BVC in 2mhz mode!")
  • 1571CR (MOS5710) emulation is incomplete
    • extra FDC2 registers are not implemented
  • double sided 1571 images do not work correctly
    • regular (70 tracks) vs extended (80 or 84 tracks) d71 images are not handled at all (vdrive problem)
    • creating (formatting) G71 does not work correctly, the second BAM block will be wrong (vdrive problem)
    • double sided P64 can be used, but can not be created from within VICE (see patch #122, r32586). since these are non existant "in the wild" and probably not needed for anything - not a big problem :) to handle this properly, a seperate image format should get created (at least internally)
Extensions
  • when using dolphin dos 3 emulation, the state of the mc6821 is not saved to/restored from snapshots
  • when using supercard+ emulation, the optional additional index hole sensor (for the IHS nibbler) is not emulated
Drive Noise
  • since the current implementation is a very simple sample player, things like "drive composer" will not work

Datasette Emulation

  • unlike with a real datasette, the emulated counter will stop counting when no tape/image is present
  • when a t64 image is attached, the datasette status will incorrectly say "no image".
Note: since t64 is currently only accessable via kernal traps, the datasette emulation actually treats this case as if no image is present. The respective code must be updated so the datasette emulation actually "knows" about when t64 is in use.
  • motor noise is not emulated

Printer Emulation

there perhaps should be a way to explicitly set a directory for printer output files Gpz 01:24, 4 July 2011 (UTC)
  • printer noise is not emulated

Cores

Core used in
VIA VIC20, PET, various drives
CIA C64, C128, 1570/71
SID C64, C128, CBM2, (VIC20, PLUS4, PET: SID cart)
TED Plus4 snapshots are broken
VDC C128 snapshots are broken
VIC VIC-20
VIC-II C64, CBM2
VIC-IIe C128
t6721a Magic Voice, Plus4 (V364) snapshot support is missing
mc6821 Formel64, Magic Formel, Dolphin-DOS 3
CS8900a RR-Net/TFE snapshot support is missing
RIOT 2040/3040/4040/1001/8050/8250
PC8477/DP8473 FD4000/FD2000
WD1770 1570/1571/1581
ACIA (6551) Swiftlink
spi-sdcard MMC64, MMC Replay snapshot support is missing
ser-eeprom MMC Replay snapshot support is missing
midi C64, VIC-20 snapshot support is missing

VIA

  • MYVIA_NEED_LATCHING option is possibly broken, but in any case untested
  • the code doesn't actually notify anything outside the chip when PB7 toggles
    • Same so far for the output from the shift register and its handshaking

CIA

  • the case when CIA1 port A and port B are both in output mode, port A outputs low, port B outputs high, both are connected via the keyboard matrix and a value is read from port B is not handled correctly ( testprogs/CIA/ciaports ; http://noname.c64.org/csdb/release/?id=5375 ) (has been improved but is not perfect)
  • the various analog side effects that must be considered when pressing two or more keys are not emulated correctly, so this will currently not produce the correct results in some corner cases.
  • Shift Register IRQ triggers one cycle too early (see this bug)

SID

  • POTX/POTY sampling jitter is not emulated
  • only one mouse or pair of paddles can be emulated at a time

TED

VDC

  • Some basic features of the VDC are missing:
    • Registers 34/35 (horizontal blanking position) not implemented
    • $d600 bit 7 STATUS flag is only approximately implemented. Fixing requires emulating the internal timing of the VDC.. (partially implemented in r35456, also see testprogs/VDC/vdctiming)
    • Differences between 8563 and 8568 are not all emulated, eg. register 38
  • Clock calculation for lightpen is incorrect (?)
  • Can't resize the screen enough to fit all video modes, e.g. vdcmodemania high resolution modes. Aspect ratio needs to change on the fly too.
  • Screen position is not always correct, e.g. vdcmodemania FLI parts

VIC

VIC-II

VIC-IIe

  • The test bit is not emulated, which results in things like 'real interlace' ([1]) and the $D030 new VIC-IIe color palette hack ([2]) not working.

t6721a

  • 48bit frames support is incorrect/broken
  • synthesizer condition 2 loss-effect-, shape- and repeat- bits have no effect
  • reading from the speach rom is not emulated (which is not really an issue since neither magic voice nor v364 have one)

mc6821

  • interrupts are not implemented
  • implementation of C2 output modes is incomplete

RIOT

  • I/O "peek" function is broken

Machines

x64sc

Note: x64 is deprecated.

general
  • some C64 models are not emulated 100% correctly (for details see C64models)
    • the memory layout for "Max Machine" is not yet correct
    • The Japanese C64 has "C= lock" instead of "Shift Lock" (the keyboard is physically different)
Cartridge System

note: the detailed todo list/status is here.

  • some carts have no snapshot support yet (still broken: Magic Voice, MMC Replay, RR-Net MK3, Ethernet.)
    • IDE64 & ATA system can only handle "readonly" snapshots now. Somehow the image file must be matched to the snapshot to prevent corruption.
    • MMC64 snapshots do not include the SD-card
  • some carts do not work 100% yet (still broken: Magic Voice, MMC Replay.)
    • Magic Voice: emulation of the speech chip is incomplete (see Todo#t6721a), this breaks some words included in the magic voice rom and the "a-bee-c" cartridge. Memory mapping is incomplete/broken (which however affects no known software/testcase).
    • MMC Replay: only the BIOS mode works right now; the monitor may incorrectly access cartridge memory (even) if "bank cart" is explicitly set
  • the (very strange, and incompatible with most cartridges) passthrough port of the SFX sound expander is not emulated
  • various cartridges have no support for verbose i/o dump in the monitor
  • Passthrough port functionality depends on ordering of cartridge attaches, especially visible from the command line. (e.g. MMC64+RR ok, RR+MMC64 not)
  • TODO: IDE64 is missing a "make HD image read only" resource
  • TODO: IDE64 saves its config data into vicerc - it should use a bin image like every other cartridge

x128

xmx provided a test program, see testprogs/c128/z80/cycletimer
  • CPU history (chist) implementation is incomplete
  • should get rewritten to use the new 6510 "sc" core

xvic


x64dtv

The DTV emulator is very inaccurate and is in need of a partial rewrite. Maintainer wanted!

  • Misery 3: (http://noname.c64.org/csdb/release/?id=83196)
    • fails emudetect
    • plasma part is missing badlines
  • switching VICII border mode resets x64dtv ( https://sourceforge.net/tracker/?func=detail&aid=3004255&group_id=223021&atid=1057620 )
  • CPU history (chist) implementation is incomplete
  • the "PS/2 Mouse at Userport" should get refactored to be a regular Userport device in the common Userport system
  • "enable Userport Joystick" vs "Hummer Userport Joystick" is strange and confusing, especially since in the DTV emulator we dont even have a "UserportJoyType" selection. the regular "DTV Joystick on Userport" should become a regular Userport device.

xplus4

The plus4 emulator is generally work in progress and not yet "ready". Maintainer wanted!

Cartridge System
  • handling of the c0/c1/c2 roms is weak
    • cartridges share the same roms as internal roms
    • roms are not removed from the memory map if not present (just cleared)
  • "mmu" memory translation table handling is not implemented for cartridges
  • snapshot implementations are completely untested

xcbm2

note: run like this: xcbm2 -model 610 -ntsc -drive8type 8050 -virtualdev +truedrive -8 cbm2-burnin.d80
  • CPU history (chist) implementation is incomplete
  • should get rewritten to use the new 6502 "sc" core
Cartridge System
  • not implemented yet

xcbm5x0

  • The emulator, when the execution bank is set to an open memory bank, sets the zeropage and stack access to unmapped, but actually existing memory. This is a bug but cannot be avoided with the current CPU code architecture.
  • In the C510 emulation the VIC-II timing is not exact, i.e. the stopping of the CPU during bad lines is wrong.
  • The C510 emulation uses the old VIC-II core which means no cycle exact sprite collisions, no inline gfx changes, and probably more. See here for details.
  • CPU history (chist) implementation is incomplete
  • should get rewritten to use the new 6502 "sc" core
Cartridge System
  • not implemented yet

xpet

  • When running the "8296d diagnostic" test of the 8296 system disk on "xpet -model 8296" some tests fail:
    • when TDE is enabled, the program will hang. when TDE is disabled, the IEEE interface status will be reported as bad
    • the userport is reported as bad (perhaps some dongle is needed?)
note: run like this: "xpet -model 8296 -drive8type 8050 -8 8296d-systemdisk.d82 -editor edit-4-80-b-50Hz.901474-04.bin". the "burnin8296" program seems to be an older version of the "8296d diagnostic" program. it runs when TDE is enabled, but the 50Hz irq test fails.
  • some combinations of selected keymap and keyboard model do not work because of missing keymaps
    • also the keymaps must match the "editor" ROM - currently only the UK (Business) ROM in included in VICE
    • the keymaps for US (host) keymap need to be checked and fixed
  • CPU history (chist) implementation is incomplete
  • should get rewritten to use the new 6502 "sc" core

SC Rewrites

As a long term goal, everything should be rewritten to use the new "sc" cpu cores (and the non sc cores removed):

  • Migrate emulators to the cycle based CPU core (6510dtvcore.c, should be renamed), which allows:
    • cycle based hooks for complex hardware expansions (SCPU)
    • in-line graphics data change emulation (see testprogs/VICII/gfxfetch)
    • cycle exact Blitter/DMA vblank start and proper LinearA/B counter handling on x64dtv
    • cycle based drawing
  • ...and requires (at least):
    • rewrite video chip modules to use:
      • cycle based fetch/etc (VIC & VICII done, VICII-DTV in progress)
      • cycle based drawing (VICII done)
    • remove 1 clock write offsets (at least CIA/VIA already handled)
    • an insane amount of regression testing (preferably with new testprogs where needed)

Tools

c1541

unfortunately to fix this a lot of c1541 will have to be rewritten (mount image only once, not for each operation) Gpz (talk) 23:57, 13 December 2012 (UTC)
  • Remove optional dependency on libreadline once linenoise-ng has been tested properly.
See if linenoise-ng can be made to work with the MSYS2 shell, which would help with debugging c1541.

Ports

Some of the mess isn't ours! See here for Upstream bugs.

archdep

Windows

  • TODO: the native (console based) monitor does not work in windows

GTK3 UI

This is a list of things to do and bugs to fix. This is no way an exhaustive list, to get a better understanding of what needs to be fixed/altered, run this command inside VICE's top dir: grep -n 'FIXME\|TODO\|XXX' `find src/arch/gtk3 -name '*.c'`, and be amazed.

  • Write documentation on how to use the UI
  • TODO: Add support for non-ASCII characters in the various file/path dialogs (snapshot, maybe even the various cartridge image/eeprom paths and the machine/drive ROM paths) (fixed?)

The list of covered resources is here

Main window(s)

  • TODO: make sure both hard- and software rendering match whats described in Scaling_cleanup - if so, the page can be cleaned out
Implemented, but only for a single display, no multi-display support yet. GDK seem to support multi-display setup querying, but we'd actually have to write code and test this to see how GDK handles this, if at all. (fixed?)
    • do not forget the VDC and the Monitor windows (fixed?)
VDC is handled, the monitor windows isn't, there aren't any resource for the monitor window, nor any event handlers. Another wish seems to be to put the VICII and VDC window next to each other for x128, which will probably mean introducing yet another resource to control this and override the Window1* resources. Probably some enum: USE_WINDOW1* = -1, ABOVE, BELOW, LEFT, RIGHT. And hope the Window Manager actually listens to our requests to move said window.
  • BUG: mouse grab (when mouse emulation is enabled) is not perfect. eg when the emulator is started with mouse enabled, the pointer is not initially moved into the emulator window.

Statusbar

  • BUG: On MacOS and Windows, the slider popup widget is hidden behind the rendered canvas, on Linux this works as it should. So currently the volume widget is disabled on MacOS and Windows

Dialogs

  • TODO: Polish the keyset dialog: at there very least split the UI into a 3x3 grid for the directions and a 4x2 grid for the fire buttons. Maybe use icons for the direction if they're in the default Gtk icon set.
Only arrow icons for North, West, South and East are available. Gtk3 used to have a GtkArrow class, but that has been deprecated since 3.14 and removed from 4.x. So we'll have to write our own (which should also prove useful for joystick mapping widgets).

Settings

  • TODO: HardSID settings are missing
ROMsets
  • a generic function should be created which scans the data directory of the emulator and returns a list of all .vrs files for the UI
    • then the UI can use said list in a dropdown list for quick selection
  • TODO: ROM-set manager/settings need to be reworked and fixed. ROMset "archives" should be removed completely. see #ROMsets
CBM2 model (xcbm2/xcbm5x0)
  • TODO: Check model settings glue logic.
Mostly works, the 50/60Hz switch is a problem. I'll need someone with some actual CBM-II knowledge to help me out here. Compyx 2020-01-08
Joysticks

see Joymappings

vsid

  • BUG: Fix drag-n-drop behaviour, dragging multiple SID files onto the playlist widget works, but on Linux at least, dropping a SID file on the STIL view widget doesn't work (specifically the GtkTextView), this works on Windows oddly enough.
  • BUG: STIL view: some tunes (for example Last Ninja 2) print empty "tune #x" entries, so you'll get "Tune #1" in blue and a few empty lines, in the case of LN2 this goes on until tune #6. Most likely a bug in the use of hvsclib, not the lib itself.
  • TODO:Playlist: allow keyboard navigation. Perhaps also multi-select via Ctrl or Shift to delete multiple entries?
  • Add some sort of tree-based file browser (preferably using the HVSC as the default dir) to allow quick tune selection and help with building a playlist (ie via drag-n-drop)
  • Add HVSC BUGlist support to VSID
Support for this is available in src/hvsc, but there are very few actual entries in the BUGList.txt file. Maybe skip this one?
  • Update mixer sliders to use proper units etc like the mixer sliders in the other emus

Monitor

The GUI based monitor currently uses a mercylessly hacked VTE library. When we looked for a way to put the monitor into a console window that works with GTK3, this seemed to be the only way to do it. The ugly hacks were required to make VTE compile and work on windows. This is also why we cant use a more modern version of the VTE library.

  • TODO: On the long run, we will have to write a custom renderer for a monitor window, which supports all the things we need to implement a classic "fullscreen editor" like ml monitor.
  • TODO: Again as a long term goal, we might want to support transparent support for native charsets

for some info on the monitor ui see: MonitorUI.

macOS

  • TODO: joystick_ui_get_next_device_name should return the detected joysticks instead of the predefined list (fixed?)
  • TODO: Make the GTK UI create/use the macOS style "top menubar"
  • TODO: joy-osx.c contains a lot of resources and commandline options that should not be there, but live in common code instead. this needs some refactoring to make game controllers work the same in all ports

OpenGL

  • TODO: The OpenGL renderer should transform itself into a Cairo renderer if the system doesn't support OpenGL. (fixed?)
    • Stretch goal: the OpenGL renderer should fall back to legacy mode (the SDL renderer) if GTK3 itself has, instead of failing.
  • TODO: Do-not-scale option. Important for Cairo renderer, possible for OpenGL.

Stretch goals

  • Make 'smart cartridge attach' dialog smarter when attaching .bin images, show only valid cartridge types when selecting a cart image.
    • TODO: this needs a new API call that returns the valid sizes for a given type
  • make an option to force display size to 1x/2x/3x/4x
  • make a GUI based editor for keymaps
  • add statusbar indicators for cartridge LEDs.

SDL UI

  • Write documentation on how to use the UI
  • BUG: FFmpeg media recording behaves unexpected when entering the menu [3]
  • TODO: get rid of fullscreenarch.h and fullscreen.c - its no more required because SDL can do all of the features fine.

Menus

  • TODO: some menu items need status text to show that the action has been done.
    • Drive>Fliplist settings>Add current image to fliplist
    • Drive>Fliplist settings>Remove current image from fliplist
    • Drive>Fliplist settings>Attach next image in fliplist
    • Drive>Fliplist settings>Attach previous image in fliplist
  • BUG: at a lot of places "inactive" (as in "cant be selected") menu items are missing the "N/A" on the right
  • TODO: A better way of showing filenames (maybe using contraction) needs to be made

Datasette

  • TODO: add menu items for "Reset datasette counter" (UI action handlers have been added in the "compyx/sdl-uiactions" branch)

Joysticks

see Joymappings

Monitor

  • TODO: implement a scrollback buffer

File Selector

  • TODO: add filtering in file requester

Virtual Keyboard

  • TODO: shift/cbm/ctrl should be "sticky" (right now shifted keys are entered using backspace/cancel - which is odd)
  • TODO: the virtual keyboard handling of the SDL port must be updated/fixed to support all PET keyboards

VSID

  • TODO: Implement a playlist for VSID
  • TODO: Add HVSC song length database (SLDB) support to VSID (both .txt and .md5 file format)
  • TODO: Add HVSC sid tune information list (STIL) support to VSID
  • TODO: Add HVSC BUGlist support to VSID