Todo: Difference between revisions

From vice-emu
Jump to navigation Jump to search
(put back 2000/4000 reference)
Line 507: Line 507:
====Sound System====
====Sound System====

* the sound system currently only handles mono streams. it should be rewritten to work in stereo. needed to eg fix ( (done in rev 24693: the sound system can now produce both stereo and mono streams and can even be set to always produce mono and mix stereo-streams to mono, or always produce stereo where mono streams are just duplicated to play on both channels.)
* the sound system currently only handles mono streams. it should be rewritten to work in stereo. needed to eg fix ( (in progress)
* some kind of generic interface to handle audio input is required to handle sampler carts
* some kind of generic interface to handle audio input is required to handle sampler carts

Line 527: Line 527:

* internal (?)
* internal (?)
** <strike>add support for 3 SID chips</strike> ( ) (implemented in rev 24733)
** add support for 3 SID chips ( )
** c64/c128 1.44 MB disk drive support. ([])
** c64/c128 1.44 MB disk drive support. ([])
** c64/c128 SCSI expansion support. ([])
** c64/c128 SCSI expansion support. ([])
Line 643: Line 643:
** CMD harddrive support. ([])  (
** CMD harddrive support. ([])  (
** <strike>CMD FD2000/FD4000 support (</strike> (in 2.3.10)
** IEC2IEEE/RS232C adapter support. ([])
** IEC2IEEE/RS232C adapter support. ([])
** sd2iec / uIEC support ( )
** sd2iec / uIEC support ( )

Revision as of 23:31, 30 September 2011

Prime Directive

  • when adding/changing stuff that needs (G)UI items/changes, add a proper entry to the Developer_log to notify the UI maintainers.
  • when changing something that needs an update to text messages (and as such, the translation), add a proper entry to the Translator_log to notify the Translators.
  • 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 list below.

Known Issues

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 2.3. 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.


  • 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.

Workaround: load the program in question manually, that will usually introduce enough randomness into the system state.

note: this could perhaps be solved (atleast partially) by inserting a random delay before "run" ? --Gpz 01:45, 11 January 2011 (UTC)

fixed in r24278. (autostart optionally delays by up to 10 frames).


  • the documentation is partly outdated and/or incomplete.



  • 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.

note: also see this knowledgebase article:

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.



History Recording

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

CRT Emulation

Drive Emulation

  • Dual disk drive 2040/3040 support (DOS1, 670 blocks free) is not working
  • when using a dual drive, only the first drive (0:) can be used.
virtual Devices
  • the drive rom can not be read using "m-r" when tde is disabled (instead zeros will be returned).

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. --Gpz 01:52, 11 January 2011 (UTC)

True Drive Emulation

Printer Emulation

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



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)

fixed in r24251. instead of 0xee now 0xff is used as the magic constant. see,_ANE)


  • 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 ; ) (improved in 23609)
    note: the current implementation is correct for single key presses (port B reads 1), which should be enough for most practical situations (and to make broken keyboard routines, such as the one in nitro#16, work). the following special cases (which would make port B read 0) are not emulated yet:
    • shift-lock is pressed
    • two or more keys of the same column are pressed
  • another odd special case is when some bits of a port are programmed as output, others as input. and then they are connected via the keyboard matrix by pressing several keys at once. this is not emulated yet at all.


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



Workaround: use the "default" palette.
the color generator must be changed to also create a palette based on RGB colors and/or a true RGB based rendering path must be created Gpz 14:10, 19 July 2011 (UTC)


  • 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
  • Border mode/size selection is not implemented
  • NTSC bugs:



  • The test bit is not emulated, which results in things like 'real interlace' ([1]) not working.


x64 / x64sc

x64 issues addressed by x64sc

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

  • some VIC-II bugs present in the old VIC-II core
    • inline gfx data changes are not emulated (see testprogs/VICII/gfxfetch/)
    • The VIC-II implementation lacks cycle exact sprite collision support
    • 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

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)

Workaround in all cases: use x64sc :)

x64 specific problems

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

Workaround in all cases: use x64sc :)

Cartridge System
  • some carts have no snapshot support yet (still broken: MMC64, Magic Voice, MMC Replay, MIDI, Ethernet. fixed since 2.3: SFX Sound Expander, SFX Sound Sampler.)
  • some carts do not work 100% yet (still broken: KCS, Magic Voice, MMC Replay. fixed since 2.3: Snapshot 64)
  • IDE64 & ATA system can only handle "readonly" snapshots now. Somehow the image file must be matched to the snapshot to prevent corruption.
    • KCS: BLOADing a frozen program does not work
    • Magic Voice: works only in basic mode right now
    • MMC Replay: only the BIOS mode works right now; the monitor may incorrectly access cartridge memory (even) if "bank cart" is explicitly set
    • Snapshot 64: "format and backup" (freeze, then F5) hangs after entering name of boot file (fixed in r24247, bug was not actually cart related)
  • IDE64 shortbus expansions not emulated
  • SFX sound sampler audio input is not emulated

note: the detailed todo list is here.


  • 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.

* 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. (fixed in r24448)

  • support for c128 specific expansion port handling/mapping is missing in the c64/c128 cartridge system (MMC Replay, FastLoad128, MACH128, other?)
  • if CRT emulation is enabled, it is always enabled for both the VIC-II and the VDC output, and both share the same settings.

note: to fix this all "ColorXYZ" and "PalXYZ" resources and respective command-line options must be changed to be per video chip (as with other settings). at this point it is probably also a good idea to merge the "CHIPScale2x" and "PalEmulation" (boolean) resources and options into one "CHIPRenderer" enum. Gpz 15:29, 2 February 2011 (UTC) (fixed in r24298)




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

* 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. (fixed in r24448)

  • SID card only supports "fast SID" (fixed in r24288)
  • "one click" model selection is not implemented (fixed in r24285)


  • Although both are emulated in the xcbm2 emulator, switching between C510 and C6x0/7x0 is not possible at runtime.

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 (done in r24326)

  • 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.
  • 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.
  • banking in the monitor is broken
  • 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.

note: run like this: xcbm2 -model 610 -ntsc -drive8type 8050 +truedrive -8 cbm2-burnin.d80


  • SID card only supports "fast SID" (fixed in r24288)
  • 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.

  • 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.
  • some combinations of selected (CRTC) model and "double size" mode give not the correct/expected result. (fixed in r24284)
  • some combinations of selected keymap and keyboard model do not work because of missing keymaps

Ports / UIs

  • In the C128 emulation VIC-II and VDC palette can not coexist currently in some ports. (unconfirmed: amiga, beos, dos, os/2, osx, win32, gp2x, riscos)
  • The CBM-II emulation is not fully supported in all ports. (unconfirmed: amiga, beos, dos, os/2, osx, win32, gp2x, riscos)
  • VSID is not fully supported in all ports: win32 (unconfirmed: amiga, beos, dos, os/2, osx)
  • YUV rendering (used by amigaos and xaw) implementation is incomplete
    • scale2x not available
    • some renderers are missing
    • doublesize + y-stretch (2x4) doesnt work correctly


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

X11 (XAW and GTK)

  • 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.
  • Aspect ratio/scaling is broken in fullscreen mode when hardware rendering is enabled (canvas is always stretched to fill the entire screen)
  • the mouse pointer is incorrectly un-grabbed when switching from/to fullscreen with the mouse- or lightpen emulation enabled.
  • some text output may show broken characters for "foreign" UTF8 chars
  • lightpen coordinates are not accurate when using vidmode for fullscreen
  • Gnome/GTK+ commandline is ignored.
  • VSID shows some gtk warnings
  • Some DEC/Alpha machines crash due to the XAW implementation.
    Workaround: Compile VICE with GNOME support `--enable-gnomeui' instead.
  • warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" may show up if none is defined in the environment
    Workaround: define _XOPEN_SOURCE=600 on the commandline
  • Context popup menu for drive attach is broken if more than two drives are active.
  • the status bar area of the created window is larger than it should be
  • when hardware rendering is enabled, greenish color might appear around the drawing area.


  • In the MS-DOS port you have to save the configuration and restart the emulator when changing VDC double size mode.





  • 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"
  • Fullscreen mode is not implemented.


  • The GP2X port segfaults at start.

note: this port is unmaintained and because of that subject for removal.


  • 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.

note: this port is unmaintained and because of that subject for removal.


  • Split xcbm2 into a 5x0 binary and 6x0/7x0 binary. (done in r24326)
  • Split the vsid mode off from x64, making vsid a seperate binary. (done in r24321)
  • 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)


  • Update the *nix documentation
    • perhaps find a way to conditionally include arch specific stuff in vice.texi ?
  • proper and specific win32 documentation. (.chm format)
  • proper and specific amiga documentation. (.guide format)
  • proper and specific BeOS documentation.
  • proper and specific MSDOS documentation. (.txt format)
  • proper and specific OS/2 documentation. (.inf format)
  • proper and specific RiscOS documentation.
  • proper and specific SDL documentation.


  • Support for more languages.
  • Translation support for BeOS.
  • Translation support for MSDOS
  • Translation support for OS/2
  • Translation support for RiscOS.

Ports / GUI improvements

  • Make a list of GUI elements/features per port, compare and implement any missing features for the ports. ( Gui cleanup )
  • Make a list of Hotkeys used per port, compare and try to make them the same / alike. ( Hotkey cleanup )
  • Debug/fix the XBOX SDL port.
  • Debug/fix the RiscOS SDL port.
  • Debug/fix the Windows-CE SDL ports.
  • Completely update the RiscOS GUI.
  • Completely update the GP2X GUI.








  • add PCI support for catweasel and hardsid


  • add PCI support for catweasel and hardsid (implemented)
  • add real IEC device support via par port or ser port
  • add proper lfn detection

New Features

This is the place for the VICE developers to put down ideas about the future development of VICE.

Some of these ideas might never be realized, and might look completely absurd, but they could be the inspiration for other ideas.

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.

also look at Tracker: open Feature Requests


History Recording




Sound System

Video System

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

Hardware emulation



  • Cartridges
    • IDE64 improvements
      • IDE64 eth64 shortbus expansion support. ([4])
      • IDE64 duart shortbus expansion support. ([5])
    • SFX sound sampler improvements
      • SFX sound sampler audio input support. ([6])
    • Clockport improvements
      • Silversurfer (UART) support ([7])
      • mp3@c64 support
      • IDE64 based eth64-II support ([8])
    • Community Information Locator Commodore 64/128 addon cartridge ([9])
    • RAM Floppy (REX) support
    • Daisy Sound sampler audio input support. ([10])
    • PS64 speech cartridge support. ([11])
    • Voice Messenger speech cartridge support. ([12])
    • ramlink support. ([13] [14])
    • ramdrive support.
    • rtc (ds12c887) support. ([15]) (in progress).
    • z80 (cpm) cartridge support. (4Mhz z80)
    • turbo master cartridge support (4Mhz 65C02). ([16] [17])
    • turbo process cartridge support (4Mhz 658156). ([18] [19])
    • flash-8 cartridge support (8Mhz 65816). ([20])
    • SCPU cartridge support (20Mhz 65816). ([21] [22]) (
    • The Final Chesscard (65c02) ([23])
    • german BTX cartridge (6809)
    • SoftPROM cartridge ([24])
      • 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). Gpz 23:01, 30 October 2010 (UTC)
    • Net64 cartridge support. ([25])
      • this is exactly the same as "the final ethernet" (which is emulated) 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. ([26])
    • BI-80 cartridge support. ([27])
    • Buscard II IEEE488/printer-port cartridge support. ([28])
  • Userport
    • C64 RTC 58321 (userport) ([29])
    • CBM1660 (userport) modem300 support. ([30])
    • CBM1670 (userport) modem1200 support. ([31])
    • FB-RS232 (userport) support. ([32])
    • c64 p64 midi interface: ([33])
    • Scantroniks handscanner (userport) support. ([34])
    • Video Byte II video digitizer (userport) support. ([35]) ([36])
    • Computera Eyes video digitizer (userport) support. ([37] [38])
    • Userport RocketDrive support. ([39])
    • CIA-IDE-HD support. ([40])
    • Aprotek universal rs232 adapter support. ([41])
    • Comet64 support. ([42])
    • Kingsoft 4-player adapter support. ([43])
    • L. Pantarottos adapter support. ([44])
    • Amiga mouse emulation on 4-player adapters. (
  • Video output.
    • c64 LCD64 screen support. ([55])


  • c128 plus60k support.
  • c128 plus256k support.
  • c128 256K memory expansion hack support.



  • plus4 digiblaster audio input support. ([60])
  • add support for "speedy" freezer cartridge



  • cbm2 z80 support.
  • cbm2 8088 support. ([66])




new Ports

  • windows-ce X11 support.
  • amiga X11 support.
  • RiscOS X11 support.
  • Port to Plan9
  • Port to win16
  • Port to win32s (maybe by using windib)
  • Port to mips windows nt
  • Port to alpha windows nt
  • Port to ppc windows nt
  • Port to windows-ce
  • 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.
  • Make android SDL port.
  • Make pandora SDL port.
  • Make caanoo SDL port.
  • Make wiz SDL port.
  • Make GP2X SDL port with proper joystick/pad handling.
  • Make zodiac SDL port.
  • Make webOS SDL port.