/[gxemul]/trunk/TODO
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/TODO

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC revision 40 by dpavlin, Mon Oct 8 16:22:11 2007 UTC
# Line 1  Line 1 
1  $Id: TODO,v 1.410 2006/11/06 05:32:38 debug Exp $  $Id: TODO,v 1.489 2007/05/01 04:05:06 debug Exp $
2    
3  This file is my list of things I want to work on in the future. It is in  --------------------------------------------
 random order, and some parts of it are probably out-to-date by now.  
4    
5    Testing for the next release (0.4.5.1):
6    
7    TEST DISK OVERLAY IMAGES
8    TEST LANDISK/SUPERH EMULATION MODES
9    REGRESSION TESTS FOR ALL OTHER SUPPORTED GUEST OSES
10    
11    # NetBSD/pmax 3.1 or 1.6.2      OK
12    # NetBSD/arc 1.6.2              OK
13    # NetBSD/hpcmips 3.1            OK
14    # NetBSD/cobalt 3.1             OK
15    # NetBSD/evbmips 3.1            OK
16    # NetBSD/algor 3.1              OK
17    # NetBSD/sgimips 3.1            OK
18    # NetBSD/cats 3.1               OK
19    # NetBSD/evbarm 2.1             OK
20    # NetBSD/netwinder 3.1          OK
21    # NetBSD/prep 2.1               OK
22    # NetBSD/macppc 3.1             OK
23    # NetBSD/dreamcast 3.1 MD       OK
24    # NetBSD/dreamcast 3.1 LiveCD   OK
25    # Linux/dreamcast Live CD       OK
26    # OpenBSD/pmax 2.8-BETA         not tested because of lack of time
27    # OpenBSD/cats 4.0              OK
28    # OpenBSD/landisk 4.1           OK
29    # Ultrix/RISC 4.5               OK
30    # Sprite for DECstation         OK
31    # Debian GNU/Linux for pmax     not tested because of lack of time
32    
33    Optional:
34    # OpenBSD/sgi                   FAILED to boot after setup (as expected)
35    
36    --------------------------------------------
37    
38    Some things, in totally random order, that I'd like to fix:
39    (Some items in this list are possibly out-of-date by now.)
40    
41  Dyntrans:  Dyntrans:
42          x)  Instruction combination collisions? How to avoid easily...          x)  Instruction combination collisions? How to avoid easily...
# Line 16  Dyntrans: Line 50  Dyntrans:
50              kludgy very fast.)              kludgy very fast.)
51          x)  Dyntrans with SMP... lots of work to be done here.          x)  Dyntrans with SMP... lots of work to be done here.
52          x)  Dyntrans with cache emulation... lots of work here as well.          x)  Dyntrans with cache emulation... lots of work here as well.
53            x)  Remove the concept of base RAM completely; it would be more
54                generic to allow RAM devices to be used "anywhere".
55          o)  dev_mp doesn't work well with dyntrans yet          o)  dev_mp doesn't work well with dyntrans yet
56          o)  In general, IPIs, CAS, LL/SC etc must be made to work with dyntrans          o)  In general, IPIs, CAS, LL/SC etc must be made to work with dyntrans
57          x)  Redesign/rethink the delay slot mechanism used for e.g. MIPS,          x)  Redesign/rethink the delay slot mechanism used for e.g. MIPS,
# Line 36  Dyntrans: Line 72  Dyntrans:
72              (containing code)              (containing code)
73          x)  16-bit encodings? (MIPS16, ARM Thumb, 32-bit SH on SH64)          x)  16-bit encodings? (MIPS16, ARM Thumb, 32-bit SH on SH64)
74          x)  Lots of other stuff: see src/cpus/README_DYNTRANS          x)  Lots of other stuff: see src/cpus/README_DYNTRANS
75          x)  true recompilation backend? think carefully about this,          x)  Native code generation backends:
76              experiment in a separate project (not in GXemul)                  o)  think carefully about this.
77                  o) First test would be to just implement a simple                  o)  simple syntax for emitting opcodes; backend implementation
78                     instruction such as MIPS' addiu or lui, on AMD64                      must be optional, so I don't have to write more code
79                     hosts...                      than necessary. after all, the non-native (C) code should
80                        always work.
81                    o)  convert into native code only after an entire
82                            block has been translated? probably best.
83                    o)  the "almost native" opcodes may be rearranged,
84                        "peep-hole optimized", etc. and then as a separate step
85                        this list of almost native opcodes is written out
86                        as native code.
87                    o)  think about delay slots at the end of a block!
88                    o)  x86/amd64 code generator can be very similar... perhaps
89                    o)  NOTE that generation is per _ABI_, not per host arch!
90                        the configure script must detect ABI!!!
91                    o)  branches to already translated code blocks can
92                            link the blocks together
93                    o)  load/store are the most important to optimize
94    
95  Simple Valgrind-like checks?  Simple Valgrind-like checks?
96          o)  Mark every address with bits which tell whether or not the address          o)  Mark every address with bits which tell whether or not the address
# Line 86  MIPS: Line 136  MIPS:
136                  x)  watchhi/watchlo exceptions, and other exception                  x)  watchhi/watchlo exceptions, and other exception
137                      handling details                      handling details
138          o)  R10000 and others:  (R12000, R14000 ?)          o)  R10000 and others:  (R12000, R14000 ?)
139                    x)  The code before the line
140                            /*  reg[COP0_PAGEMASK] = cpu->cd.mips.coproc[0]->tlbs[0].mask & PAGEMASK_MASK;  */
141                        in cpu_mips.c is not correct for R10000 according to
142                        Lemote's Godson patches for GXemul. TODO: Go through all
143                        register definitions according to http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi/hdwr/bks/SGI_Developer/books/R10K_UM/sgi_html/t5.Ver.2.0.book_263.html#HEADING334
144                        and make sure everything works with R10000.
145                        Then test with OpenBSD/sgi?
146                    x)  Entry LO mask (as above).
147                  x)  memory space, exceptions, ...                  x)  memory space, exceptions, ...
148                  x)  use cop0 framemask for tlb lookups                  x)  use cop0 framemask for tlb lookups
149                      (http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi/hdwr/bks/SGI_Developer/books/R10K_UM/sgi_html/t5.Ver.2.0.book_284.html)                      (http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi/hdwr/bks/SGI_Developer/books/R10K_UM/sgi_html/t5.Ver.2.0.book_284.html)
150    
151  SuperH:  SuperH:
152          x)  DMA (0xffa00000)          x)  SH4 performance is VERY low when running user-space instructions,
153          x)  Instruction tracing should include symbols for branch targets,              because I actually simulate the 4-entry ITLB as being separate
154              and so on...              from the 64-entry DTLB. This is correct, but VERY slow. I need
155                to experiment with _not_ simulating it in too much detail.
156          x)  SH4 interrupt controller:          x)  SH4 interrupt controller:
157                  x)  Implement correct priorities of interrupts                  x)  MASKING should be possible!
158            x)  SH4 DMA (0xffa00000)
159            x)  SH4 UBC (0xff200000)
160            x)  Store queues can copy 32 bytes at a time, there's no need to
161                copy individual 32-bit words. (Performance improvement.)
162          x)  SH4 BSC (Bus State Controller)          x)  SH4 BSC (Bus State Controller)
163          x)  NetBSD/evbsh3, dreamcast, mmeye, hpcsh! Linux?          x)  Instruction tracing should include symbols for branch targets,
164                and so on, to make the output more human readable.
165            x)  SH3-specific devices: Pretty much everything!
166            x)  NetBSD/evbsh3, mmeye, hpcsh! Linux?
167          x)  Replace pc-relative loads with immediate load, if within the          x)  Replace pc-relative loads with immediate load, if within the
168              same page. (Similar to the same optimization for ARM.)              same page. (Similar to the same optimization for ARM.)
         x)  Floating point exception correctness.  
169          x)  Floating point speed!          x)  Floating point speed!
170            x)  Floating point exception correctness.
171            x)  NetBSD HEAD (as of April 2007) hangs during bootup, because it
172                turns on/off interrupts in an unfortunately synchronized way
173                with dyntrans. This needs to be fixed.
174            x)  Exceptions for unaligned load/stores. OpenBSD/landisk uses
175                this mechanism for its reboot code (machine_reset).
176          x)  Think carefully about how to implement SH5/SH64 (for evbsh5).          x)  Think carefully about how to implement SH5/SH64 (for evbsh5).
177    
178    Landisk SH4:
179            x)  When NetBSD/landisk 4.0 has been released, make sure it works
180                in the emulator. (Update documentation, etc.)
181    
182  Dreamcast:  Dreamcast:
183          x)  CD image bootup:          x)  G2 DMA
184                  0)  Find IP.BIN, and load it to 0x8c008000.          x)  LAN adapter (dev_mb8696x.c).  NetBSD root-on-nfs.
                 1)  Run code at 0x8c008300 (SEGA license code).  
                 2)  When the license code runs a "boot menu" syscall,  
                     load the 1ST_READ.BIN file (unscrambled?) to 0x8c010000.  
                 3)  Run code at 0x8c00b800 (Bootstrap 1). This will in turn  
                     jump to 0x8c00e000 (Bootstrap 2), and then jump to  
                     0x8c010000, to start the program.  
                 (Try with e.g. Comstedt's Serial IP Slave, to make sure it  
                 works as expected.)  
         x)  LAN adapter.  
185          x)  PVR:  Lots of stuff. See dev_pvr.c.          x)  PVR:  Lots of stuff. See dev_pvr.c.
186            x)  Better GDROM support
187            x)  Modem
188            x)  PCI bridge/bus?
189          x)  Maple bus:          x)  Maple bus:
190                  x)  Correct controller input                  x)  Correct controller input
191                  x)  Mouse input                  x)  Mouse input
192          x)  PROM/BIOS calls:          x)  Software emulation of BIOS calls:
193                  x)  GD-ROM emulation                  x)  GD-ROM emulation: Use the GDROM device.
194          x)  NetBSD/dreamcast: Root on nfs?                  x)  Use the VGA font as a fake ROM font. (Better than
195          x)  Linux/dreamcast? (The gentoo kernel currently crashes.)                      nothing.)
196            x)  Make as many as possible of the KOS examples run!
197          x)  More homebrew demos/games.          x)  More homebrew demos/games.
198          x)  Sound emulation (ARM cpu).          x)  SPU: Sound emulation (ARM cpu).
199          x)  VME processor emulation?          x)  VME processor emulation? "(Sanyo LC8670 "Potato")" according to
200                Wikipedia, LC86K87 according to Comstedt's page. See
201  Transputer:              http://www.maushammer.com/vmu.html for a good description of
202          x)  Implement support for Helios binaries.              the differences between LC86104C and the one used in the VME.
         x)  Stack and register contents at startup?  
         x)  Figure out how to boot an entire Helios distribution.  
         x)  Implement all instructions. :)  
   
 RCA1802/RCA1805, CHIP8:  
         x)  CHIP8 -> RCA180x conversion  
                 x)  Think about how to do dual-mode, variable-instr-length  
                     ISAs, and switch between modes.  
                 x)  1805 "extended" opcode -> trigger CHIP8 emulation?  
                         That is, all calls 0NNN could point to 0x68 opcodes,  
                         which, if running on a 1802 in CHIP8-emulation-mode,  
                         would be manually interpreted.  
                 x)  Better solution:  
                         CHIP8 calls to 00xx => handle at high level,  
                               calls to 0xxx in general = call 180X machine code  
                                 (0000 = reboot?)  
         x)  1802 info: http://www.nyx.net/~lturner/public_html/Cosmac.html  
             and:  http://www.elf-emulation.com/1802.html  
         x)  1805 extended opcodes: Implement at least disassembly support!  
         x)  Keyboard input.  
         x)  Sound (beep only).  
         x)  Slow-down to correct speed? Wikipedia: "it was usually operated  
             at 3.58 MHz/2 to suit the requirements of the 1861 chip which  
             gave a speed of a little over 100,000 instructions per second"  
             (Note that _CHIP8_ emulation would then be even slower.)  
         x)  SCHIP48 (Super) emulation:  
                 Some more opcodes, 128x64 framebuffer, larger  
                 sprites and fonts.  
203    
204  Alpha:  Alpha:
205          x)  OSF1 PALcode, Virtual memory support.          x)  OSF1 PALcode, Virtual memory support.
# Line 168  Alpha: Line 210  Alpha:
210          x)  More Alpha machine types, so it could work with          x)  More Alpha machine types, so it could work with
211              OpenBSD, FreeBSD, and Linux too?              OpenBSD, FreeBSD, and Linux too?
212    
213  SPARC:  SPARC (both the ISA and the machines):
214          o)  Implement Adress space identifiers; load/stores etc.          o)  Implement Adress space identifiers; load/stores etc.
215          o)  Save/restore register windows etc!          o)  Exception/trap/interrupt handling.
216            o)  Save/restore register windows etc! Both v9 and pre-v9!
217          o)  Finish the subcc and addcc flag computation code.          o)  Finish the subcc and addcc flag computation code.
218          o)  Add more registers (floating point, control regs etc)          o)  Add more registers (floating point, control regs etc)
         o)  Exception/trap handling.  
219          o)  Disassemly of some more instructions?          o)  Disassemly of some more instructions?
220          o)  Are sll etc 32-bit sign-extending or zero-extending?          o)  Are sll etc 32-bit sign-extending or zero-extending?
221          o)  Finish the GDB register stuff.          o)  Floating point exception correctness.
         x)  Floating point exception correctness.  
222          o)  SPARC v8, v7 etc?          o)  SPARC v8, v7 etc?
223            o)  More machine modes and devices.
224    
225  Debugger:  Debugger:
226          o)  How does SMP debugging work? Does it simply use "threads"?          o)  How does SMP debugging work? Does it simply use "threads"?
# Line 187  Debugger: Line 229  Debugger:
229          o)  Try to make the debugger more modular and, if possible, reentrant!          o)  Try to make the debugger more modular and, if possible, reentrant!
230          o)  Remove the emul command? (But show network info if showing          o)  Remove the emul command? (But show network info if showing
231                  machines?)                  machines?)
232            o)  Evaluate expressions within []? That would allow stuff like
233                    cpu[x] where x is an expression.
234          o)  Settings:          o)  Settings:
235                  x)  Special handlers for Write!                  x)  Special handlers for Write!
236                          +)  MIPS coproc regs                          +)  MIPS coproc regs
# Line 196  Debugger: Line 240  Debugger:
240          o)  see src/debugger.c for more          o)  see src/debugger.c for more
241    
242  POWER/PowerPC:  POWER/PowerPC:
243          x)  find and fix the bug which causes NetBSD/macppc to fail after          x)  Fix DECR timer speed, so it matches the host.
             an install!  
244          x)  NetBSD/prep 3.x triggers a possible bug in the emulator:          x)  NetBSD/prep 3.x triggers a possible bug in the emulator:
245              <wdc_exec_command(0xd005e514,0xd60cdd30,0,8,..)>              <wdc_exec_command(0xd005e514,0xd60cdd30,0,8,..)>
246                <ata_get_xfer(0,0xd60cdd30,0,8,..)>                <ata_get_xfer(0,0xd60cdd30,0,8,..)>
# Line 221  POWER/PowerPC: Line 264  POWER/PowerPC:
264          x)  Floating point exception correctness.          x)  Floating point exception correctness.
265          x)  Alignment exceptions.          x)  Alignment exceptions.
266    
267    PReP:
268            x)  Clock time! ("Bad battery blah blah")
269    
270  Algor:  Algor:
271          o)  Other models than the P5064?          o)  Other models than the P5064?
272          o)  PCI interrupts... needed for stuff like the tlp NIC?          o)  PCI interrupts... needed for stuff like the tlp NIC?
273    
274    BeBox:
275            o)  Interrupts. There seems to be a problem with WDC interrupts
276                "after a short while", although a few interrupts get through?
277            o)  Perhaps find a copy of BeOS and try it?
278    
279  HPCmips:  HPCmips:
280          x)  Mouse/pad support! :)          x)  Mouse/pad support! :)
281          x)  A NIC? (As a PCMCIA device?)          x)  A NIC? (As a PCMCIA device?)
282    
283    M88K:
284            o)  Everything. :)
285                    o)  More instruction disassembly!
286                    o)  Implement more instructions.
287                    o)  has-delay-slot (for debugging)
288                    o)  Find manuals!
289                    o)  MMU stuff
290                    o)  Exceptions
291                    o)  FPU
292                    o)  Control registers
293    
294  AVR:  AVR:
295          o)  Everything.          o)  Everything.
296    
 AVR32:  
         o)  Everything. It would be good if there was NetBSD/avr32 to  
             experiment with...  
   
297  ARM:  ARM:
298          o)  See netwinder_reset() in NetBSD; the current "an internal error          o)  See netwinder_reset() in NetBSD; the current "an internal error
299              occured" message after reboot/halt is too ugly.              occured" message after reboot/halt is too ugly.
300          o)  ARM "wait"-like instruction?          o)  ARM "wait"-like instruction?
301          o)  try to get netbsd/evbarm 3.x running (iq80321)          o)  try to get netbsd/evbarm 3.x or 4.x running (iq80321)
302          o)  make the xscale counter registers (ccnt) work          o)  make the xscale counter registers (ccnt) work
303          o)  make the ata controller usable for FreeBSD!          o)  make the ata controller usable for FreeBSD!
304          o)  zaurus for openbsd...          o)  Zaurus emulation:
305          o)  debian/cats crashes because of unimplemented coproc stuff.                  x)  OpenBSD/zaurus
306                    x)  NetBSD/zaurus? See the following URL:
307                        http://mail-index.netbsd.org/port-arm/2006/11/19/0000.html
308            o)  Debian/cats crashes because of unimplemented coproc stuff.
309              fix this?              fix this?
310    
311  Test machines:  Test machines:
312          + dev_fb block fill and copy          o)  dev_fb block fill and copy
313          + dev_fb draw characters (from the built-in font)?          o)  dev_fb draw characters (from the built-in font)?
314          + dev_fb input device? mouse pointer coordinates and buttons          o)  dev_fb input device? mouse pointer coordinates and buttons
315                  (allow changes in these to cause interrupts as well?)                  (allow changes in these to cause interrupts as well?)
316          + Redefine the halt() function so that it stops "sometimes          o)  Redefine the halt() function so that it stops "sometimes
317            soon", i.e. usage in demo code should be:              soon", i.e. usage in demo code should be:
318                  for (;;) {                  for (;;) {
319                          halt();                          halt();
320                  }                  }
# Line 267  Better CD Image file support: Line 328  Better CD Image file support:
328              possibly other live-CD formats.)              possibly other live-CD formats.)
329    
330  Networking:  Networking:
331            x)  Redesign of the networking subsystem, at least the NAT translation
332                    part. The current way of allowing raw ethernet frames to be
333                    transfered to/from the emulator via UDP should probably be
334                    extended to allow the frames to be transmitted other ways as
335                    well.
336            x)  Also adding support for connecting ttys (either to xterms, or to
337                    pipes/sockets etc, or even to PPP->NAT or SLIP->NAT :-).
338            x)  Documentation updates (!) are very important, making it easier to
339                    use the (already existing) network emulation features.
340          x)  Fix performance problems caused by only allowing a          x)  Fix performance problems caused by only allowing a
341              single TCP packet to be unacked.              single TCP packet to be unacked.
342          x)  Don't hardcode offsets into packets!          x)  Don't hardcode offsets into packets!
# Line 308  Documentation: Line 378  Documentation:
378                  securely".                  securely".
379          x)  Try NetBSD/arc 4.x! (It seems to work with disk images!)          x)  Try NetBSD/arc 4.x! (It seems to work with disk images!)
380          x)  NetBSD/pmax 4 install instructions: xterm instead of vt100!          x)  NetBSD/pmax 4 install instructions: xterm instead of vt100!
381          x)  DEVICE_TICK in technical.html          x)  BETTER DEVICE EXAMPLES!
382                    o)  Move away from technical.html to somewhere new.
383                    o)  DEVICE_TICK
384                    o)  Implement example devices using interrupts, dyntrans
385                        memory access, etc.?
386            x)  Document the dyntrans core?
387          x)  Rewrite the section about experimental devices, after the          x)  Rewrite the section about experimental devices, after the
388              framebuffer acceleration has been implemented, and demos              framebuffer acceleration has been implemented, and demos
389              written. (Symbolic names instead of numbers; example              written. (Symbolic names instead of numbers; example
# Line 349  The Device subsystem: Line 424  The Device subsystem:
424          x)  refactor various clocks/nvram/cmos into one device?          x)  refactor various clocks/nvram/cmos into one device?
425    
426  PCI:  PCI:
427            x)  Pretty much everything related to runtime configuration, device
428                slots, interrupts, etc must be redesigned/cleaned up. The current
429                code is very hardcoded and ugly.
430            o)  Allow cards to be added/removed during runtime more easily.
431            o)  Allow cards to be enabled/disabled (i/o ports, etc, like
432                NetBSD needs for disk controller detection).
433            o)  Allow devices to be moved in memory during runtime.
434            o)  Interrupts per PCI slot, etc. (A-D).
435            o)  PCI interrupt controller logic... very hard to get right,
436                because these differ a lot from one machine to the next.
437          x)  last write was ffffffff ==> fix this, it should be used          x)  last write was ffffffff ==> fix this, it should be used
438              together with a mask to get the correct bits. also, not ALL              together with a mask to get the correct bits. also, not ALL
439              bits are size bits! (lowest 4 vs lowest 2?)              bits are size bits! (lowest 4 vs lowest 2?)
# Line 356  PCI: Line 441  PCI:
441          x)  generalize the interrupt routing stuff (lines etc)          x)  generalize the interrupt routing stuff (lines etc)
442    
443  Clocks and timers:  Clocks and timers:
444            x)  Fix the PowerPC DECR interrupt speed! (MacPPC and PReP speed, etc.)
445          x)  DON'T HARDCODE 100 HZ IN cpu_mips_coproc.c!          x)  DON'T HARDCODE 100 HZ IN cpu_mips_coproc.c!
446          x)  Test the 8253? Right now it doesn't seem to be used?          x)  Test the 8253? Right now it doesn't seem to be used?
447          x)  NetWinder timeofday is incorrect!          x)  NetWinder timeofday is incorrect! It seems to be exactly
448                1 day ahead of actual time?
449          x)  Cobalt TOD is incorrect!          x)  Cobalt TOD is incorrect!
450          x)  Go through all other machines, one by one, and fix them.          x)  Go through all other machines, one by one, and fix them.
451    
 Busses:  
         o)  Redesign the entire "mainbus" concept!  
                 x)  Busses should be placed in a hierarchical tree (?)  
                 x)  Specific clock/bus speeds, cpu speeds etc.  
         o)  Interrupt routing subsystem:  
                 x)  IF POSSIBLE, try to make the new system work with the  
                     current system, but print annoying warning messages. :)  
                     Think carefully about this.  
                 x)  Registry for all available interrupts.  
                         +)  Each interrupt controller (including CPU cores  
                             that can handle interrupts) should register its  
                             interrupts, e.g.  
                                 cpu[0].irq[3]  
                                 cpu[0].irq[3].pcmcia_slot[1]  
                                 cpu[0].irq.pci[3]  
                         +)  Note: MIPS cpus have multiple irqs in the core,  
                             while some other CPUs only have one (irq[0]  
                             or just irq).  
                 x)  Users should use interrupt _names_ instead of integers  
                     when attaching to an interrupt controller, but when  
                     asserting/deasserting irq lines, small integers must  
                     still be used (for obvious performance reasons).  
                     Figure out a way to do this nicely!  
                 x)  Any users need to say whether they need the interrupt line  
                     exclusively or allow shared access.  
                 x)  Must work with everything from native IRQs to  
                     TurboChannel/PCI/ISA/ADB/PCMCIA/...  
                 x)  Must work with SMP emulation!  
                 x)  Make it with device_add(). How does the end user find  
                     out the name of an interrupt controller/line in e.g.  
                     a configuration file?  
         o)  Synchronization over network? or at least in dyntrans within  
             one emulated machine  
         o)  Convert to real busses: TurboChannel, PCMCIA, ADB  
   
452  Config file parser:  Config file parser:
453          o)  Rewrite it from scratch!          o)  Rewrite it from scratch!
454          o)  Usage of any expression available through the debugger          o)  Usage of any expression available through the debugger
455            o)  Allow interrupt controllers to be added! and interrupts
456                to be used in more ways than before
457          o)  Support for running debugger commands (like the -c          o)  Support for running debugger commands (like the -c
458              command line option)              command line option)
459    
# Line 410  Floating point layer: Line 464  Floating point layer:
464          o)  non-IEEE modes (i.e. x86)?          o)  non-IEEE modes (i.e. x86)?
465    
466  Userland emulation:  Userland emulation:
467          x)  Lots of stuff; freebsd and netbsd (and linux?) syscalls.          x)  Dynamic linking!
468          x)  Dynamic linking? Hm.          x)  Lots of stuff; freebsd, netbsd, linux, ... syscalls.
469            x)  Initial register/stack contents (environment, command line args).
470            x)  Return value (from main).
471            x)  mmap emulation layer
472            x)  errno emulation layer
473            x)  struct conversions for may syscalls
474    
475  Sound:  Sound:
476          x)  generic sound framework          x)  generic sound framework
477          x)  add one or more sound cards as devices; add a testmachine          x)  add one or more sound cards as devices; add a testmachine
478              sound card first?              sound card first?
479            x)  Dreamcast sound? Generic PCI sound cards?
480    
481  ASC SCSI controller:  ASC SCSI controller:
482          x)  NetBSD/arc 2.0 uses the ASC controller in a way which GXemul          x)  NetBSD/arc 2.0 uses the ASC controller in a way which GXemul
# Line 442  Caches / memory hierarchies: (this is mo Line 502  Caches / memory hierarchies: (this is mo
502              possible.              possible.
503    
504  File/disk/symbol handling:  File/disk/symbol handling:
505            o)  Make sure that disks can be added/removed during runtime!
506                (Perhaps this needs a reasonably large re-write.)
507          o)  Remove some of the complexity in file format guessing, for          o)  Remove some of the complexity in file format guessing, for
508                  Ultrix kernels that are actually disk images?                  Ultrix kernels that are actually disk images?
509          o)  Better handling of tape files          o)  Better handling of tape files      
510          o)  Read function argument count and types from binaries? (ELF?)          o)  Read function argument count and types from binaries? (ELF?)
511          o)  Better demangling of C++ names. Note: GNU's C++ differs from e.g.          o)  Better demangling of C++ names. Note: GNU's C++ differs from e.g.
512              Microsoft's C++, so multiple schemes must be possible. See              Microsoft's C++, so multiple schemes must be possible. See
# Line 453  File/disk/symbol handling: Line 515  File/disk/symbol handling:
515  Userland ABI emulation:  Userland ABI emulation:
516          o)  see src/useremul.c          o)  see src/useremul.c
517    
 Terminal/console:  
         o)  allow emulated serial ports to be connected to the outside  
             world in a more generic way, or even to other emulated  
             machines(?)  
   
 Save state of the whole emulated machine, to be able to load it back  
         in later?  (Memory, all device's states, all registers and  
         so on.  Like taking a snapshot. (SimOS seems to do this,  
         according to its website.))  
   
518  Better framebuffer and X-windows functionality:  Better framebuffer and X-windows functionality:
519          o)  Generalize the update_x1y1x2y2 stuff to an extend-region()          o)  Generalize the update_x1y1x2y2 stuff to an extend-region()
520              function...              function...

Legend:
Removed from v.32  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26