TMF Hg

[wd2010] use size_t for init filesize, make disc init more verbose

  • Wed, 16 Jan 2013 00:34:11 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Wed, 16 Jan 2013 00:34:11 +0000] rev 122
  • [wd2010] use size_t for init filesize, make disc init more verbose

Implement m68k_read_disassembler_* properly

  • Tue, 15 Jan 2013 17:02:56 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 15 Jan 2013 17:02:56 +0000] rev 121
  • Implement m68k_read_disassembler_* properly

    The previous implementations of m68k_read_disassembler are unsuitable due to
    interactions with the memory mapper. A read from memory by the DASM should not
    mutate system state.

    So we modify the m68k_read_disassembler_{8,16,32} functions to do the memory
    mapping themselves without causing page faults (bus error exception) or
    updating the page flag bits (which could really upset the kernel).

    Now all we need is a debugger/disassembler...