Developer log: Difference between revisions

From vice-emu
Jump to navigation Jump to search
(→‎trunk: Hummer userport cleanup)
mNo edit summary
 
Line 1: Line 1:
<big>'''As of the 3.2 release, this page is no more used. All developers are supposed to update the GTK3 and SDL ports when they add things that need GUI items.'''</big>
<div class="noautonum">__TOC__</div>
The developer log is intended to be a central place for all developers to take down notes on what has changed during development. This helps to keep all porters up to date regarding API and Resource changes.
The developer log is intended to be a central place for all developers to take down notes on what has changed during development. This helps to keep all porters up to date regarding API and Resource changes.
==Status==
{| border="1" cellpadding="2" cellspacing="0"
|| r25372 ||
| style="background:white;" |
| style="background:#FFFF00;" | win32 (1)
| style="background:#FFFF00;" | *nix (1)
| style="background:#FFC000;" | osx (29)
| style="background:white;" |
| style="background:#FF8000;" | amiga (39)
| style="background:#FF0000;" | beos (43)
| style="background:#FF8000;" | dos (39)
| style="background:#FF0000;" | os/2 (55)
| style="background:white;" |
| style="background:#FFFF00;" | SDL (1)
|-
|| r25801 ||
| style="background:white;" |
| style="background:#00FF00;" | win32 (-)
| style="background:#00FF00;" | *nix (-)
| style="background:#FFC000;" | osx (30)
| style="background:white;" |
| style="background:#FF8000;" | amiga (37)
| style="background:#FF0000;" | beos (41)
| style="background:#FF8000;" | dos (40)
| style="background:#FF8000;" | os/2 (4)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r25858 || 2.3.19
| style="background:white;" |
| style="background:#00FF00;" | win32 (-)
| style="background:#00FF00;" | *nix (-)
| style="background:#FFC000;" | osx (30)
| style="background:white;" |
| style="background:#FF8000;" | amiga (9)
| style="background:#FF0000;" | beos (41)
| style="background:#FF8000;" | dos (40)
| style="background:#FF8000;" | os/2 (4)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r25955 || 2.3.20
| style="background:white;" |
| style="background:#FFC000;" | win32 (2)
| style="background:#00FF00;" | *nix (-)
| style="background:#FFC000;" | osx (30)
| style="background:white;" |
| style="background:#FF8000;" | amiga (4)
| style="background:#FF0000;" | beos (31)
| style="background:#FFC000;" | dos (28)
| style="background:#FF8000;" | os/2 (4)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r26032 || 2.3.21
| style="background:white;" |
| style="background:#FFC000;" | win32 (3)
| style="background:#00FF00;" | *nix (-)
| style="background:#FFC000;" | osx (31)
| style="background:white;" |
| style="background:#FF8000;" | amiga (5)
| style="background:#FF0000;" | beos (32)
| style="background:#FFC000;" | dos (6)
| style="background:#FF8000;" | os/2 (5)
| style="background:white;" |
| style="background:#ADFF2F;" | SDL (1)
|-
|
|-
|| r26488 || 2.4
| style="background:white;" |
| style="background:#FFC000;" | win32 (3)
| style="background:#00FF00;" | *nix (-)
| style="background:#FFC000;" | osx (35)
| style="background:white;" |
| style="background:#FF8000;" | amiga (5)
| style="background:#FF0000;" | beos (36)
| style="background:#FFC000;" | dos (7)
| style="background:#FF8000;" | os/2 (5)
| style="background:white;" |
| style="background:#ADFF2F;" | SDL (1)
|-
|
|-
|| r26876 || 2.4.1
| style="background:white;" |
| style="background:#FF0000;" | win32 (4)
| style="background:#00FF00;" | *nix (-)
| style="background:#FF0000;" | osx (36)
| style="background:white;" |
| style="background:#FF0000;" | amiga (5)
| style="background:#FF0000;" | beos (37)
| style="background:#FF0000;" | dos (8)
| style="background:#FF0000;" | os/2 (6)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r28197 || 2.4.7
| style="background:white;" |
| style="background:#FF8000;" | win32 (5)
| style="background:#00FF00;" | *nix (-)
| style="background:#FF0000;" | osx (48)
| style="background:white;" |
| style="background:#FF0000;" | amiga (5)
| style="background:#FF0000;" | beos (8)
| style="background:#FF0000;" | dos (8)
| style="background:#FF0000;" | os/2 (11)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r28270 ||
| style="background:white;" |
| style="background:#00FF00;" | win32 (-)
| style="background:#00FF00;" | *nix (-)
| style="background:#FF0000;" | osx (48)
| style="background:white;" |
| style="background:#FFFF00;" | amiga (1)
| style="background:#FF0000;" | beos (5)
| style="background:#FF0000;" | dos (3)
| style="background:#FF0000;" | os/2 (10)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r30535 ||
| style="background:white;" |
| style="background:#FF0000;" | win32 (10)
| style="background:#FF0000;" | *nix (5)
| style="background:#FF0000;" | osx (40)
| style="background:white;" |
| style="background:#FF0000;" | amiga (17)
| style="background:#FF0000;" | beos (26)
| style="background:#FF0000;" | dos (21)
| style="background:#FF0000;" | os/2 (41)
| style="background:white;" |
| style="background:#FF0000;" | SDL (6)
|-
|| r30784 ||
| style="background:white;" |
| style="background:#ADFF2F;" | win32 (1)
| style="background:#00FF00;" | *nix (-)
| style="background:#00FF00;" | osx (-)
| style="background:white;" |
| style="background:#FF8000;" | amiga (26)
| style="background:#FF8000;" | beos (31)
| style="background:#FF8000;" | dos (14)
| style="background:#FF0000;" | os/2 (50)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r32419 ||
| style="background:white;" |
| style="background:#00FF00;" | win32 (-)
| style="background:#00FF00;" | *nix (-)
| style="background:#00FF00;" | osx (-)
| style="background:white;" |
| style="background:#00FF00;" | amiga (-)
| style="background:#FFC000;" | beos (3)
| style="background:#00FF00;" | dos (-)
| style="background:#FFC000;" | os/2 (4)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|-
|| r32520 || 3.0
| style="background:white;" |
| style="background:#00FF00;" | win32 (-)
| style="background:#00FF00;" | *nix (-)
| style="background:#00FF00;" | osx (-)
| style="background:white;" |
| style="background:#00FF00;" | amiga (-)
| style="background:#00FF00;" | beos (-)
| style="background:#00FF00;" | dos (-)
| style="background:#FFFF00;" | os/2 (2)
| style="background:white;" |
| style="background:#00FF00;" | SDL (-)
|}
<br>
{| border="1" cellpadding="2" cellspacing="0"
|- style="background:#FF0000;"
| more than one open issue from before the last release version
|- style="background:#FF8000;"
| no open issues from before the last release version, plus at most one other open issue
|- style="background:#FFC000;"
| no open issues from before the last release version
|- style="background:#FFFF00;"
| no open issues from before the last tagged version, plus at most one other open issue
|- style="background:#ADFF2F;"
| no open issues from before the last tagged version
|- style="background:#00FF00"
| no open issues
|}
==Trunk==
Here is a short overview of all changes made in trunk that are relevant for the respective port/gui maintainers.
Note: '''new stuff should be added at the bottom and each item should have the related svn revision'''
To keep the size of this list down (and hopefully shrinking) ...
* Port/GUI Maintainers should remove their port from the respective item when it is implemented.
* To not clutter this page with stuff that will not get implemented anytime soon ("i will not add lightpen support to this handheld port") in such cases the respective port should also get removed from the respective item, and a note pointing out the missing feature should get added to [[Todo#Ports_.2F_UIs]] instead.
* Items which have no more TODOs left should then be moved to the [[Developer_log_old]] Page
----
===r34242===
* added tapecart emulation, still needs GUI hookups
Tapecart support has been added in the Gtk3 UI and the SDL UI, including a 'flush image button' which uses the new tapecart_flush_tcrt() function in tapecart.c.
'''TODO''': Decide if we want to add this to the other ports, to be included in VICE 3.2, the last release with the 'old' ports.
==3.0==
* Added support for G71 (double sided G64 for 1571) images
:'''TODO''': add g71 to filters in file-open/attach dialogs in following ports: amiga, dos, osx, win32
:'''TODO''': add g71 to "create image" dialogs (DISK_IMAGE_TYPE_G71) in following ports: amiga, beos, dos, osx, win32
===r32815===
* Added support for the StarDOS drive ROM, new resources DriveXStarDos (boolean), DriveStarDosName (string)
:'''TODO''': add GUI items to the following ports (take supercard or profdos as example): amiga, beos, dos, osx, win32
===r33343===
* Changed a few malloc()/free() calls to lib_malloc()/lib_free(), which includes some code I cannot check (OSX for example), so should you run into errors/warnings when running VICE with -debug enabled, let me know. I think I got it right, but you never know.


==Branches==
==Branches==


Here is a short overview of all branches that are currently active in SVN, i.e. someone develops a new feature that soon will be merged into trunk. Note here the upcoming features, if some testing is required on specific platforms or there is something porters need to be aware of.
Here is a short overview of all branches that are currently active in SVN, i.e. someone develops a new feature that soon will be merged into trunk. Note here the upcoming features, if some testing is required on specific platforms or there is something porters need to be aware of. When a branch was merged into trunk, the respective info should be moved to the [[Developer_log_old]] Page.
 
* 2.3-new-cpu-cores (blacky)
** This branch is all about (old and) new cpu cores, it is meant to implement the following:
*** <strike>z80 support for x64/x64sc (z80 cp/m cartridge).</strike> (code is in the trunk and used by the c64 cpm cart)
*** <strike>65(S)C02 support as used in some accelerator carts, but also as direct 6502/6510 replacement.</strike> (core is in the trunk and used by the fd2000/4000 drives)
*** 65CE02 support as direct 6502/6510 replacement.
*** <strike>65802/65816 support as used in some accelerator carts, but also as direct 6502/6510 replacement (65802 only).</strike> (core is in the trunk and used by xscpu64 as the main cpu core).
*** <strike>6809/6309 support as used in the super pet.</strike> (core is in the trunk and used by the superpet)
*** 8088 support as used in a copro board for the cbm2 (able to run cp/m-86 and msdos 1.25).
 
* driveupdate (soci)
** The point is to have a single FDD emulation for all drives which need low level media emulation and caching. The disk image handling is also reworked to make simpler to use and extend it later. Some features were added like handling of d71 double sided emulation mode disk images, real 6502 FDC with GCR image (works for 1001 now, planned for others). Improved fault handling and updating of Dxx images, 1581 and other MFM drives needs some work. Planned is to get the 1571 MFM mode somehow working together with the GCR mode (probably not on the same type of image file), and maybe implement G64 image support for the IEEE drives. And of course all these changes brings some new bugs to fix. This is most likely not going to be finished in 2011, and maybe some parts should be migrated to trunk to get some of the ready stuff out earlier.
 
* vice-1990 (soci)
** Branch for emulating the 1990 drive.
** TODO: user interface for Drive?Swap8Button, DrivexSwap?Button, Drive?WriteProtectButton
** TODO: gui changes so that this type can be selected
** <strike>TODO: RTC72421 emulation needed</strike> (in trunk)
** TODO: proper disk image attaching, hdd/iso/fdd image types? Currently file is hardcoded to "/tmp/image" for all!
** Future: geos, swap8, swap9 and write protect LEDs on GUI would be nice
** Future: device number comes from the image instead of VICE.
** Future: vdrive support. Good luck ;)
 
----
 
List of ports: amiga, beos, dos, osx, *nix, win32, sdl


===trunk===
List of ports outside UI updates: android, dingoo


* autostart cleanup
[[Category:Deprecated]]
** Resource: <tt>AutostartHandleTrueDriveEmulation</tt>
** Resource: <tt>AutostartRunWithColon</tt>
* chris/v2.1-quicktime [2.1.2]
** NEW: added QuickTime movie exporter (on Mac OS X for now)
** API: introduced new soundmovie.c sound exporter
** API: gfxoutput.h: extended interace of gfxoutputdrv_t
gfxoutputdrv_format_t *formatlist; // optional format list for exporter
void (*shutdown)(void);
int (*resources_init)(void);
int (*cmdline_options_init)(void);
** Tested: Mac+Cocoa, Mac+Gtk, Mac+Xaw
** Open: Adapted all UIs to use generic formatlist from extended gfxoutput_drv interface
* viceplus/v2.1-resid-dtv
** NEW: reSID-DTV, an accurate DTVSID emulator by Antti Lankila
** Build todo: #define HAVE_RESID_DTV, build src/resid-dtv, link resid-dtv to x64dtv instead of resid for the following build systems: VAC++.
* soundrework.
** oversampling setting removed. Oversampling is a bad, mostly unused solution for slightly improved audio quality. We can just do proper resamplers for machines that need it.
** shorter sound buffer requires using audio buffers to their capacity. Some drivers may exhibit bugs with bufferspace() hook when audio buffer gets completely filled. These should be identified by bad behaviour on low latency setting such as 50 ms, while other sound drivers on same system might still work.
* Userport Joystick Interface support (r20807)
** NEW: 2 new virtual joysticks
** API: joystick_port_map[] (arch/*/joy.[ch]) size changed from 2 to 4 (JOYSTICK_NUM, joystick.h)
** Resource: ExtraJoy (toggle) and ExtraJoyType see src/joystick.h for the types.
** TODO: UI items for the following ports: gp2x, os2, riscos
** TODO: Make the joystick UI correct, to clarify: c128, c64, c64dtv, cbm5x0 and plus4 have 2 native joystick port, vic20 has only 1 native joystick port and pet and cbm6x0/7x0 have no native joystick ports at all. The HIT userport joystick adapter can only be used on c64/c128, the other userport joystick adapters can be used on c64, c128, c64dtv, cbm6x0/7x0, pet and vic20.
** TODO: Joystick mapping/handling fixes (if needed) for the following ports: gp2x.
** NOTE: Snapshots don't load/save the two new values to maintain compatibility. Network code uses the new size; this may be a problem.
* C128 RAM banks 2 & 3 support (20974)
** Resource: C128FullBanks (toggle)
** TODO: x128 UI items for the following ports: gp2x, osx, riscos
* Plus4 SID cart add-ons support (20977)
** Resource: DIGIBOOSTER (toggle) for the digibooster add-on and SIDCartJoy (toggle) for the joystick port on the sidcart.
** TODO: xplus4 UI items for the following ports: beos, gp2x, os/2, osx, riscos
* C64/C128 SFX sound sampler support (20984)
** Resource: SFXSoundSampler (toggle).
** TODO: x64/x128 UI items for the following ports: gp2x, osx, riscos
* C64/C128 SFX sound expander support (20993)
** Resource: SFXSoundExpander (toggle).
** TODO: x64/x128 UI items for the following ports: gp2x, osx, riscos
* C128 stereo sid $d700-$d7ff range support (21007)
** TODO: x128 UI items for the following ports: gp2x, osx, riscos
* Autostart PRG Modes (21051)
** Resource: AutostartPrgMode (enum)
*** 0=VirtualFS
*** 1=Inject to RAM
*** 2=Disk Image
** Resource: AutostartPrgDiskImage (string)
** TODO: UI Items for: amiga, beos, gp2x, msdos, os/2, win32
* Lightpen/gun support (21132)
** NEW: Lightpen/gun emulation in x64, x128 and xvic
** Resource: Lightpen (toggle)
** Resource: LightpenType (enum, see lightpen.h)
*** 0=Pen with button Up (TODO: product name?)
*** 1=Pen with button Left (TODO: product name?)
*** 2=Datel Pen
*** 3=Magnum Light Phaser
*** 4=Stack Light Rifle
** TODO: Lightpen driver and UI items for the following ports: amiga, beos, gp2x, os/2, xaw, gtk, osx, riscos
** NOTE: see SDL for driver implementation example
** TODO: Fix clock calculation in VDC
** TODO: other x's?
* xvic cartridge system rewrite (21222)
** NEW: Rewritten modular cartridge emulation similar to that of x64.
** NEW: Mega-Cart emulation
** Resource: CartridgeType (enum, see cartridge.h)
** Resource: CartridgeFile (string)
** Resource: CartridgeReset (toggle)
** Resource: GenericCartridgeFile2000 (string)
** Resource: GenericCartridgeFile4000 (string)
** Resource: GenericCartridgeFile6000 (string)
** Resource: GenericCartridgeFileA000 (string)
** Resource: GenericCartridgeFileB000 (string)
** NOTE: see win32 ui for initial menu implementation.
** TODO: cartridge snapshot support (was removed)
** TODO: .crt like cartridge format (.vrt)
** TODO: UI items for the following ports: gp2x, os/2, osx, riscos.
* Fragment size (21388)
** NEW: fragment size is switchable (with archdep defaults)
** Resource: SoundFragmentSize (enum, see sound.h)
** TODO: UI items for the following ports: amiga, beos, msdos, gp2x, os/2, osx, riscos, win32
** TODO: check if archdep defaults are sane
* Opposite joystick directions (21417)
** NEW: Opposite joystick directions can be enabled
** Resource: JoyOpposite (toggle)
** TODO: UI items for the following ports: amiga, beos, msdos, gp2x, os/2, osx, riscos, win32
* Hummer userport cleanup
** Resource: HummerUserportDevice removed
** Resource: HummerUserportJoyPort removed
** Resource: HummerADC (toggle) added
** TODO: UI items for the following ports: amiga, beos, msdos, gp2x, os/2, osx, riscos, win32

Latest revision as of 18:26, 23 March 2023

As of the 3.2 release, this page is no more used. All developers are supposed to update the GTK3 and SDL ports when they add things that need GUI items.


The developer log is intended to be a central place for all developers to take down notes on what has changed during development. This helps to keep all porters up to date regarding API and Resource changes.

Status

r25372 win32 (1) *nix (1) osx (29) amiga (39) beos (43) dos (39) os/2 (55) SDL (1)
r25801 win32 (-) *nix (-) osx (30) amiga (37) beos (41) dos (40) os/2 (4) SDL (-)
r25858 2.3.19 win32 (-) *nix (-) osx (30) amiga (9) beos (41) dos (40) os/2 (4) SDL (-)
r25955 2.3.20 win32 (2) *nix (-) osx (30) amiga (4) beos (31) dos (28) os/2 (4) SDL (-)
r26032 2.3.21 win32 (3) *nix (-) osx (31) amiga (5) beos (32) dos (6) os/2 (5) SDL (1)
r26488 2.4 win32 (3) *nix (-) osx (35) amiga (5) beos (36) dos (7) os/2 (5) SDL (1)
r26876 2.4.1 win32 (4) *nix (-) osx (36) amiga (5) beos (37) dos (8) os/2 (6) SDL (-)
r28197 2.4.7 win32 (5) *nix (-) osx (48) amiga (5) beos (8) dos (8) os/2 (11) SDL (-)
r28270 win32 (-) *nix (-) osx (48) amiga (1) beos (5) dos (3) os/2 (10) SDL (-)
r30535 win32 (10) *nix (5) osx (40) amiga (17) beos (26) dos (21) os/2 (41) SDL (6)
r30784 win32 (1) *nix (-) osx (-) amiga (26) beos (31) dos (14) os/2 (50) SDL (-)
r32419 win32 (-) *nix (-) osx (-) amiga (-) beos (3) dos (-) os/2 (4) SDL (-)
r32520 3.0 win32 (-) *nix (-) osx (-) amiga (-) beos (-) dos (-) os/2 (2) SDL (-)


more than one open issue from before the last release version
no open issues from before the last release version, plus at most one other open issue
no open issues from before the last release version
no open issues from before the last tagged version, plus at most one other open issue
no open issues from before the last tagged version
no open issues

Trunk

Here is a short overview of all changes made in trunk that are relevant for the respective port/gui maintainers.

Note: new stuff should be added at the bottom and each item should have the related svn revision

To keep the size of this list down (and hopefully shrinking) ...

  • Port/GUI Maintainers should remove their port from the respective item when it is implemented.
  • To not clutter this page with stuff that will not get implemented anytime soon ("i will not add lightpen support to this handheld port") in such cases the respective port should also get removed from the respective item, and a note pointing out the missing feature should get added to Todo#Ports_.2F_UIs instead.
  • Items which have no more TODOs left should then be moved to the Developer_log_old Page

r34242

  • added tapecart emulation, still needs GUI hookups

Tapecart support has been added in the Gtk3 UI and the SDL UI, including a 'flush image button' which uses the new tapecart_flush_tcrt() function in tapecart.c.

TODO: Decide if we want to add this to the other ports, to be included in VICE 3.2, the last release with the 'old' ports.

3.0

  • Added support for G71 (double sided G64 for 1571) images
TODO: add g71 to filters in file-open/attach dialogs in following ports: amiga, dos, osx, win32
TODO: add g71 to "create image" dialogs (DISK_IMAGE_TYPE_G71) in following ports: amiga, beos, dos, osx, win32

r32815

  • Added support for the StarDOS drive ROM, new resources DriveXStarDos (boolean), DriveStarDosName (string)
TODO: add GUI items to the following ports (take supercard or profdos as example): amiga, beos, dos, osx, win32


r33343

  • Changed a few malloc()/free() calls to lib_malloc()/lib_free(), which includes some code I cannot check (OSX for example), so should you run into errors/warnings when running VICE with -debug enabled, let me know. I think I got it right, but you never know.

Branches

Here is a short overview of all branches that are currently active in SVN, i.e. someone develops a new feature that soon will be merged into trunk. Note here the upcoming features, if some testing is required on specific platforms or there is something porters need to be aware of. When a branch was merged into trunk, the respective info should be moved to the Developer_log_old Page.

  • 2.3-new-cpu-cores (blacky)
    • This branch is all about (old and) new cpu cores, it is meant to implement the following:
      • z80 support for x64/x64sc (z80 cp/m cartridge). (code is in the trunk and used by the c64 cpm cart)
      • 65(S)C02 support as used in some accelerator carts, but also as direct 6502/6510 replacement. (core is in the trunk and used by the fd2000/4000 drives)
      • 65CE02 support as direct 6502/6510 replacement.
      • 65802/65816 support as used in some accelerator carts, but also as direct 6502/6510 replacement (65802 only). (core is in the trunk and used by xscpu64 as the main cpu core).
      • 6809/6309 support as used in the super pet. (core is in the trunk and used by the superpet)
      • 8088 support as used in a copro board for the cbm2 (able to run cp/m-86 and msdos 1.25).
  • driveupdate (soci)
    • The point is to have a single FDD emulation for all drives which need low level media emulation and caching. The disk image handling is also reworked to make simpler to use and extend it later. Some features were added like handling of d71 double sided emulation mode disk images, real 6502 FDC with GCR image (works for 1001 now, planned for others). Improved fault handling and updating of Dxx images, 1581 and other MFM drives needs some work. Planned is to get the 1571 MFM mode somehow working together with the GCR mode (probably not on the same type of image file), and maybe implement G64 image support for the IEEE drives. And of course all these changes brings some new bugs to fix. This is most likely not going to be finished in 2011, and maybe some parts should be migrated to trunk to get some of the ready stuff out earlier.
  • vice-1990 (soci)
    • Branch for emulating the 1990 drive.
    • TODO: user interface for Drive?Swap8Button, DrivexSwap?Button, Drive?WriteProtectButton
    • TODO: gui changes so that this type can be selected
    • TODO: RTC72421 emulation needed (in trunk)
    • TODO: proper disk image attaching, hdd/iso/fdd image types? Currently file is hardcoded to "/tmp/image" for all!
    • Future: geos, swap8, swap9 and write protect LEDs on GUI would be nice
    • Future: device number comes from the image instead of VICE.
    • Future: vdrive support. Good luck ;)

List of ports: amiga, beos, dos, osx, *nix, win32, sdl

List of ports outside UI updates: android, dingoo