Annotation of hatari/doc/todo.txt, revision 1.1.1.14

1.1       root        1: 
1.1.1.4   root        2: Hatari TO-DO list
                      3: =================
1.1       root        4: 
1.1.1.4   root        5: If you think that you can help with one of the TO-DO list items, please get
                      6: in touch with us.
1.1       root        7: 
1.1.1.6   root        8: 
1.1.1.4   root        9: Emulation improvements
                     10: ----------------------
1.1       root       11: 
1.1.1.14! root       12: - Add fastload program header flag support to GEMDOS HD emulation
        !            13:   (If PF_FASTLOAD flag is set, clear just BSS, not heap)
        !            14: 
        !            15: - Investigate what TOS version/functionality doesn't work for (Falcon)
        !            16:   programs started from the DESKTOP/NEWDESK.INF and why, e.g:
1.1.1.11  root       17:        - Printing doesn't work with TOS versions v1.02 - v2.06
1.1.1.12  root       18:        - Colors in 2-plane VDI resolution are not set correctly
1.1.1.14! root       19:        - "Running" game preview and shareware versions crash
        !            20:        - Fun's "Men at War" game or its intro don't start
        !            21:        - "Push It" game crashes if auto-started
        !            22:        - NoCrew: Aggressive Party II 128k combo ("Whirlpool") bombs
        !            23:        - RG: "Sworm" & "Sky Fall" games want to access A: & B: when autostarted
        !            24:        - JAM packer packed version of Tony Benett' "Virtual City" demo bombs
        !            25:        - Sentry 2.2 packed version of Shadows' "Firestarter" demo bombs
        !            26:        Note: last 3 programs can be autostarted fine with EmuTOS.
1.1.1.11  root       27:   Document that in manual (page) for the Hatari "autorun" feature.
                     28: 
                     29: - Keyboard detection sometimes fails when --fast-forward is enabled
                     30:   while TOS boots / game is loaded (e.g. Falcon Snake game packed
                     31:   with Sentry).
                     32: 
1.1.1.3   root       33: - Improve disk image formats support:
1.1.1.6   root       34:        - Add support for .STT images
                     35:          (created with the STEEM disk image program)
                     36:        - Support .DIM images created with the "Get sectors: used" option
1.1       root       37: 
1.1.1.8   root       38: - Real HD 6301 (keyboard processor of the ST) emulation.
1.1.1.4   root       39:   (Current special casing is enough for all known demos using 6301)
1.1       root       40: 
1.1.1.8   root       41: - Finish upgrading the CPU core of Hatari to the latest WinUAE
                     42:   which has better cycle accuracy needed by some programs:
                     43:        - Add Exception debugging support
                     44:        - Instead of calling Reset_Cold()/m68k_reset()/uae_reset()
                     45:          directly from newcpu.c, show user a notice (dialog)
                     46:          about what happened and let user do the reboot
1.1.1.11  root       47:          (see "Emulation reset, old-UAE vs. WinUAE core" mail-thread)
1.1.1.12  root       48:        - Make WinUAE core ST/STE emulation as good as with old UAE core
                     49:        - Document cmdline options for selecting prefetch etc
                     50:          once they're stable
1.1       root       51: 
                     52: - Get the games/demos working that are marked as non-working in the manual.
                     53: 
1.1.1.11  root       54: - Improve TT and/or Falcon emulation, especially VIDEL, e.g:
                     55:   - Palette switching during screen drawing
                     56:   - ST screen modes centering when Videl borders are enabled
1.1.1.12  root       57:   - Videl video register access (e.g. VIDEL_ScreenCounter_ReadByte()
                     58:     never changes the register value unless it had first specifically
                     59:     been written into):
                     60:     http://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-devel/2013/02/msg00155.html
1.1.1.4   root       61: 
1.1.1.5   root       62: - Add SCSI hard disk emulation for Falcon/TT mode.
1.1.1.4   root       63: 
1.1.1.12  root       64: - ACSI emulation doesn't work with TOS v3 (but works for TT/EmuTOS).
1.1.1.6   root       65: 
1.1.1.4   root       66: - Add SCC serial port emulation for Falcon/TT mode.
                     67: 
1.1.1.10  root       68: - Disable VDI mode for TOS v4 as it doesn't support it (and VDI mode
                     69:   is redundant as Falcon's Videl allows similar resolutions)
1.1.1.6   root       70: 
1.1.1.11  root       71: - Fix falcon sound quality (sound is sometimes noisy).
1.1.1.8   root       72:   Sound is also toggling between nice to noise with some demos.
1.1.1.6   root       73: 
1.1.1.8   root       74: - DSP emulation / Falcon sound matrix:
1.1.1.7   root       75:        - Dsp SSI internal clock (is it used on falcon ?)
1.1.1.8   root       76:        - Verify DSP instructions cycle count, especially with external RAM
1.1.1.6   root       77: 
1.1.1.12  root       78: - FPU 80-bit precision mode (selected with FPUCW instruction, and
                     79:   extra instructions on 040), if there are programs depending on it.
                     80:   UAE core implements only support for 64-bit precision.  See "m68k
                     81:   FPU precision issue" thread on debian-68k mailing list for details.
                     82: 
1.1.1.9   root       83: - The "memvalid" system variables currently have to be patched in most cases.
                     84:   For improved compatibility (e.g. the game "Yolanda") it would be better to
                     85:   skip this step, but we then run into multiple other problems, see:
                     86:   http://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-devel/2011/12/msg00123.html
                     87: 
                     88: 
1.1.1.10  root       89: Programs known as not fully functional (not an exhaustive list)
                     90: ---------------------------------------------------------------
1.1.1.9   root       91: 
                     92: Demos :
                     93:   - video : Omega - Full Overscan Screen, Phalanx Demo - Dragon,
                     94:        Dragonnels - Happy Island, Phaleon Demo - Future Minds,
                     95:        Decade Demo - Reset, TNT - Death Of The Left Border,
                     96:        Anomaly Demo - Menu, Delirious Demo IV - STE Detection,
                     97:        Ventura - Ultimate Dist, Syntax Terror - TCB, ICE - Kryos,
                     98:        ICE - Intruding, ICE - Jamcols, Extreme Rage, Paradox - XMas 2004,
                     99:        ICE - Space Tale, ICE - The Wave Of The Future, Snork - DNT Screen 1
                    100: 
                    101: Games :
1.1.1.12  root      102:   - ikbd : Superior 109 - Special Forces
1.1.1.9   root      103: 
1.1.1.6   root      104: 
                    105: Other potential Hatari functionality improvements
                    106: -------------------------------------------------
                    107: 
1.1.1.7   root      108: - Improved boot drive & partition handling code:
                    109:   - count partitions the same way in ACSI, IDE & GEMDOS
                    110:   - move BootDrive stuff from floppy.c e.g. to tos.c where NumDrives is
                    111: 
                    112: - Support harddisk write protection also for IDE & ACSI drives?
                    113: 
1.1.1.12  root      114: - Fix GST symbol table detection in debugger & gst2ascii.  Currently
                    115:   it will just process whatever it thinks the symbol table to
                    116:   contain (which output can mess the console).  MiNT binaries can
                    117:   contain GST symbol tables, so checking that isn't enough.
                    118: 
1.1.1.8   root      119: - Preliminary debugger work for the other features + cleanup:
                    120:        - Eval_Number() could take DSP/CPU flag like Eval_Range()
                    121:          does so that all commands taking numeric args can accept
                    122:          also symbol, variable & register names
                    123:        - Skip & tell user to rename any of the loaded symbols that
                    124:          have same name as internal Hatari variables
1.1.1.9   root      125:        - Change "" for expressions to {} so that quotes can
1.1.1.8   root      126:          be used for e.g. search strings?
                    127: 
1.1.1.11  root      128: - While Hatari debugger has many features that Steem one doesn't have,
                    129:   that also has debugging features missing from the Hatari debugger.
                    130: 
                    131:   These ones should be straightforward to implement:
1.1.1.9   root      132:        - Breakpoints on interrupts
1.1.1.8   root      133:        - Breaking on exceptions 2-8 vs. bombs vs. don't break.
                    134:           Hatari has only an option to break on address & bus errors
                    135:          & uninitialized exception handler.
1.1.1.12  root      136:        - Showing values both in different lengths and numeric bases.
1.1.1.8   root      137:          (In Hatari one gets latter with "evaluate" command, e.g. "e a0",
1.1.1.12  root      138:          and showing the value as long/word/byte requires ANDing it)
1.1.1.8   root      139:        - All register values being shown with above info
                    140:           (= Steem Register monitor)
                    141:        - info commands for PSG, MFP, FDC and IKBD register values
                    142:          (= Steem monitors for these)
1.1.1.11  root      143:        - Info command for "timings" i.e. cycles since HBL/VBL,
1.1.1.8   root      144:          timer values, video address & scanline
                    145:          (= Steem Timings view)
                    146:        - memory dump in text format
                    147:          (= Steem Text monitor)
                    148:         - Stack content display: m "a7-$40"-"a7"
                    149:          (= Steem Stack display)
                    150:        - Text string and binary values (hex) search
                    151:          (= widgets in Steem monitor windows)
                    152:        - Run for N cycles
1.1.1.11  root      153:          (Hatari 'continue' command accepts only instructions, not cycles)
                    154: 
1.1.1.8   root      155:   These are more complicated ones:
                    156:        - Monitoring reads & writes to specific address.  Hatari supports
1.1.1.11  root      157:          only tracing changes to values, not having breakpoints of
1.1.1.8   root      158:          reading values or writing the same value.  Slow
                    159:        - Showing breakpoints in instruction dumps.  Hatari breakpoints
                    160:          are more advanced than the trivial address breakpoints, so
                    161:          this would require adding efficient support for plain PC
                    162:          based breakpoints
                    163:        - Adding new symbol names for arbitrary addresses one at the time.
                    164:          Hatari debugger currently requires new symbols to be added to
                    165:          a file containing all the symbols + reloading that file
                    166:        - Memory dump that shows also disassembly and values
                    167:          in different bases
                    168:          (= Steem Memory monitor)
1.1.1.11  root      169: 
1.1.1.8   root      170:   Basic GUI debugger features:
                    171:        - Ability to open as many dump/info windows as wanted
1.1.1.11  root      172:          (hex/asm/mfp/video/sound/...) and have their content
1.1.1.8   root      173:          refreshed each time emulation is stopped.
                    174:        - A stop/run button and a debugger "step" button
                    175:        - Possibility to click to an address on dump window to define
                    176:          a simple PC breakpoint (or monitor memory on B/W/L accesses)
                    177:        - A way to search for hex/text in Hatari's RAM.
                    178: 
                    179: (See "Steem debugger features not in Hatari debugger"
1.1.1.11  root      180: on BerliOS hatari-devel mail thread for more info.)
1.1.1.8   root      181: 
                    182: - MonST debugger features missing from Hatari debugger
                    183:   (ones not mentioned in Steem features):
                    184:        - Address breakpoints can have conditions that are evaluated
                    185:          only on that address
                    186:        - Marking breakpoint types in disassembly (<count> for counted
                    187:          ones, ? for conditional ones, * for others)
1.1.1.7   root      188:        - Shortcut command for telling to run until given
                    189:          (temporary) conditional breakpoint is hit
                    190:        - Running until code returns from ROM (exiting from super mode?)
                    191:        - Single stepping that skips Traps, Line-A, Line-F. And one that
1.1.1.8   root      192:          skips also BSRs and JSRs.  Run until RTS/RTE command
                    193:        - Saving full machine status (like registers) to history buffer
                    194:          each time debugger is entered (exception or breakpoint is hit)
                    195:          and viewing of that history
1.1.1.7   root      196:        - SP & SSP as CPU register names (active & supervisor stack)
                    197:        - Fill and copy memory command
1.1.1.8   root      198:        - Search for an address which disassembly output matches
                    199:          given instruction substring
                    200:        - User variables which values can be set & used in expressions
1.1.1.6   root      201: 
                    202: - Improved screen handling:
                    203:        - Direct 16-bit & 32-bit support for monochrome and VDI modes
                    204:          (currently they're converted through 8-bit surface)
                    205:        - Line based screen change detection/checks:
                    206:                - blit only changed lines
                    207:                - simpler / faster (LED) overlay handling
                    208:        - x3 and x4 zooming routines for ST-Low resolution
                    209:        - Include some fancy zooming routines like 2xSaI or Super-Eagle
                    210:        - Add support for hardware accelerated zooming with
                    211:          SDL YUV overlays or OpenGL
                    212: 
1.1.1.7   root      213: - Check/clean RS232 code:
                    214:        - polls at 2/20ms intervals and reads data byte at the time.
                    215:          SDL_Delay()s & fgetc() could be replaced (at least on unix)
                    216:          with select() and fread().  Or just remove the rs232 thread
                    217:          and use an interrupt for it...
                    218:        - The commented out rs232 stuff could be removed from gemdos.c
                    219:          (RS emulation is done at HW, not Gemdos level).
                    220: 
                    221: - Improve directory handling:
                    222:        - Currently screenshots & anim go always to current dir,
                    223:          whereas memsave, sound recording, printer & midi & serial &
                    224:          output and log output go to file specified in config file.
                    225:          There should be support for setting also anim/screenshot
                    226:          directory / file name from config file (needs change also
                    227:          in screenSnapShot.c).
                    228:        - By default the directory config values should be empty in
                    229:          which case the code will at run-time decide to use current
                    230:          directory, but not modify the path config setting.
1.1.1.9   root      231: 
                    232: 
                    233: Bug reports
                    234: -----------
                    235: 
1.1.1.13  root      236: - Hextracker freezes at start with Falcon emulation because Videl
                    237:   screen address counter doesn't advance (its read & write are no-ops).
                    238: 
1.1.1.11  root      239: - Atari programs can crash Hatari in Falcon mode because sound DMA code isn't robust
                    240:   against bad register values:
                    241:   http://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-devel/2012/02/msg00082.html
                    242: 
1.1.1.9   root      243: - When playing Tautology 2 I noticed the mod player sound goes in and out of
                    244:   sync. fading into crackle and back. (Using Hatari 1.4 with TOS 4.04 on Mac
                    245:   OS X 10.6.5)
                    246:   http://developer.berlios.de/bugs/?func=detailbug&bug_id=17781&group_id=10436
                    247: 
                    248: - Problem: On real Falcon there is a minor feature in videl. You can simply
                    249:   fade whole screen to black, if you just clear the Horizontal Border End
                    250:   ($ffff8286) and start fading colors from 0 to 255 to $ffff9800 or vice versa.
                    251:        test <put picture to screen>
                    252:        move.w #255-1,d7
                    253:        moveq #0,d6
                    254:        .loop <vsync, stop#$2300>
                    255:        clr.w $ffff8286.w
                    256:        move.l d6,$ffff9800.w
                    257:        addq.l #1,d6
                    258:        dbf d7,.loop
                    259:   Now it does this exactly opposite direction, it fades bgcolor from 0 to 255.
                    260:   http://developer.berlios.de/bugs/?func=detailbug&bug_id=18002&group_id=10436
                    261: 
                    262: - To compare my real Falcon with Hatari on my Windows 7 PC, I make some short
                    263:   benchmarks with Kronos. The disk benchmark in Kronos runs in 1-2 minutes on
1.1.1.10  root      264:   my real Falcon. The same disk benchmark in Kronos under Hatari 1.5 runs
                    265:   longer than 20 minutes with GEMDOS emulation.  Only when I use the AltGr + X
                    266:   option, before the benchmark runs, then the disk benchmark in kronos is
                    267:   comparable fast as my 16MHz Falcon.
1.1.1.9   root      268:   http://developer.berlios.de/bugs/?func=detailbug&bug_id=18298&group_id=10436
1.1.1.10  root      269: 
                    270:   -> Hatari GEMDOS emulation needs to do a lot of extra kernel file & directory
                    271:      accesses which with current code seem unavoidable.  They're a problem only
                    272:      with test programs like Kronos, for those one should consider using
                    273:      harddisk image files instead.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.