TMF Hg

Only print LED state if it has changed

  • Tue, 28 Dec 2010 21:47:43 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 21:47:43 +0000] rev 72
  • Only print LED state if it has changed

add LOG macro and convert WD279x printfs to LOG() calls

  • Tue, 28 Dec 2010 19:55:13 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 19:55:13 +0000] rev 71
  • add LOG macro and convert WD279x printfs to LOG() calls

tidy up WR_nn macros

  • Tue, 28 Dec 2010 19:23:57 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 19:23:57 +0000] rev 70
  • tidy up WR_nn macros

add page fault handling for DMA controller

  • Tue, 28 Dec 2010 19:11:46 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 19:11:46 +0000] rev 69
  • add page fault handling for DMA controller

fix UDS/LDS in bus error handling for 16/32-bit accesses

  • Tue, 28 Dec 2010 19:10:36 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 19:10:36 +0000] rev 68
  • fix UDS/LDS in bus error handling for 16/32-bit accesses

DMA: remove a few debug messages and rewrite memory error handling

  • Tue, 28 Dec 2010 18:59:15 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 18:59:15 +0000] rev 67
  • DMA: remove a few debug messages and rewrite memory error handling

fix ENFORCE_SIZE to print "read from" / "write to"

  • Tue, 28 Dec 2010 18:58:51 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 18:58:51 +0000] rev 66
  • fix ENFORCE_SIZE to print "read from" / "write to"

fix expansion RAM handling and Unhandled Read From Expansion Space alerts

  • Tue, 28 Dec 2010 18:36:39 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 18:36:39 +0000] rev 65
  • fix expansion RAM handling and Unhandled Read From Expansion Space alerts

turn logging of unhandled I/O R/W ops back on

  • Tue, 28 Dec 2010 18:19:48 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 18:19:48 +0000] rev 64
  • turn logging of unhandled I/O R/W ops back on

finish expansion memory emulation

  • Tue, 28 Dec 2010 17:47:01 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 17:47:01 +0000] rev 63
  • finish expansion memory emulation

add state initialisation for expansion RAM

  • Tue, 28 Dec 2010 17:31:28 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 17:31:28 +0000] rev 62
  • add state initialisation for expansion RAM

fixed expansion ram addressing, now detects base/expansion RAM counts correctly

  • Tue, 28 Dec 2010 17:25:46 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 17:25:46 +0000] rev 61
  • fixed expansion ram addressing, now detects base/expansion RAM counts correctly

fixes to Base RAM addressing -- 512K detected OK now, still need to deal with Expansion RAM detect issues

  • Tue, 28 Dec 2010 17:23:04 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 17:23:04 +0000] rev 60
  • fixes to Base RAM addressing -- 512K detected OK now, still need to deal with Expansion RAM detect issues

partial rewrite of memory / I/O handling code to reduce repetition

  • Tue, 28 Dec 2010 16:59:40 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 28 Dec 2010 16:59:40 +0000] rev 59
  • partial rewrite of memory / I/O handling code to reduce repetition

update hgignore

  • Wed, 15 Dec 2010 01:20:57 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Wed, 15 Dec 2010 01:20:57 +0000] rev 58
  • update hgignore

add CHS param checking (FDC), fix DMA address setting (DMA_XFER)

  • Tue, 14 Dec 2010 02:41:40 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Tue, 14 Dec 2010 02:41:40 +0000] rev 57
  • add CHS param checking (FDC), fix DMA address setting (DMA_XFER)

    * Floppy controller wasn't checking CHS values. Fixed.
    * DMA ADDRESS COUNT register was implemented completely wrong -- shifts and ANDmasks were wrong. Fixed.

    Boot PROM and Loader now run to the point of booting the kernel!

disable floppy interrupts (to CPU), force HDD int flag on (i.e. command always complete)

  • Mon, 13 Dec 2010 03:00:43 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Mon, 13 Dec 2010 03:00:43 +0000] rev 56
  • disable floppy interrupts (to CPU), force HDD int flag on (i.e. command always complete)

improve error and DMA handling

  • Sun, 12 Dec 2010 23:47:35 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sun, 12 Dec 2010 23:47:35 +0000] rev 55
  • improve error and DMA handling

fix side-select bug in WDC FDC driver, was causing all reads to occur on side0... now the Loader boots!

  • Mon, 06 Dec 2010 01:43:04 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Mon, 06 Dec 2010 01:43:04 +0000] rev 54
  • fix side-select bug in WDC FDC driver, was causing all reads to occur on side0... now the Loader boots!

    Loader will boot, but immediately gives up on the floppy drive... Not sure why.

disc dma seems to work, but still no boot ;(

  • Mon, 06 Dec 2010 01:26:37 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Mon, 06 Dec 2010 01:26:37 +0000] rev 53
  • disc dma seems to work, but still no boot ;(

add preliminary WD279x emulation to core

  • Sun, 05 Dec 2010 16:20:00 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sun, 05 Dec 2010 16:20:00 +0000] rev 52
  • add preliminary WD279x emulation to core

fix CHS => LBA calculation for multisector reads

  • Sun, 05 Dec 2010 16:18:50 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sun, 05 Dec 2010 16:18:50 +0000] rev 51
  • fix CHS => LBA calculation for multisector reads

    Wrapping was not taken into account...

remove redundant sdl_quit()

  • Sun, 05 Dec 2010 10:22:23 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sun, 05 Dec 2010 10:22:23 +0000] rev 50
  • remove redundant sdl_quit()

more floppy controller stuff

  • Sun, 05 Dec 2010 10:17:38 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sun, 05 Dec 2010 10:17:38 +0000] rev 49
  • more floppy controller stuff

add preliminary WD2797 FDC emulator

  • Sun, 05 Dec 2010 03:55:46 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sun, 05 Dec 2010 03:55:46 +0000] rev 48
  • add preliminary WD2797 FDC emulator

add SDL event handler -- now we can quit the emulator without using kill -9! :)

  • Fri, 03 Dec 2010 14:21:19 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Fri, 03 Dec 2010 14:21:19 +0000] rev 47
  • add SDL event handler -- now we can quit the emulator without using kill -9! :)

add comments for some write-only regs, fix LOG_NOT_HANDLED_R(32) in read16, basic LED reg decoding

  • Fri, 03 Dec 2010 01:43:57 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Fri, 03 Dec 2010 01:43:57 +0000] rev 46
  • add comments for some write-only regs, fix LOG_NOT_HANDLED_R(32) in read16, basic LED reg decoding

fix missing shift-right in video output code

  • Fri, 03 Dec 2010 00:20:36 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Fri, 03 Dec 2010 00:20:36 +0000] rev 45
  • fix missing shift-right in video output code

fix state/status transposition, add GENCON.PIE handling

  • Fri, 03 Dec 2010 00:12:53 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Fri, 03 Dec 2010 00:12:53 +0000] rev 44
  • fix state/status transposition, add GENCON.PIE handling

add basic handling for Clear Status Register and fix mem access checks to provide PIE status

  • Fri, 03 Dec 2010 00:04:01 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Fri, 03 Dec 2010 00:04:01 +0000] rev 43
  • add basic handling for Clear Status Register and fix mem access checks to provide PIE status

add a few colour variants

  • Thu, 02 Dec 2010 23:37:49 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 23:37:49 +0000] rev 42
  • add a few colour variants

add video emulation

  • Thu, 02 Dec 2010 23:30:13 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 23:30:13 +0000] rev 41
  • add video emulation

move memory access and mapping functions into memory.[ch]

  • Thu, 02 Dec 2010 23:03:13 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 23:03:13 +0000] rev 40
  • move memory access and mapping functions into memory.[ch]

    This is to tidy up main.c...

remove redundant debug printf

  • Thu, 02 Dec 2010 22:40:13 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 22:40:13 +0000] rev 39
  • remove redundant debug printf

add proper tracking of unhandled R/W operations

  • Thu, 02 Dec 2010 22:27:43 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 22:27:43 +0000] rev 38
  • add proper tracking of unhandled R/W operations

rework address-check logic

  • Thu, 02 Dec 2010 20:58:12 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 20:58:12 +0000] rev 37
  • rework address-check logic

disable redundant R/W logging

  • Thu, 02 Dec 2010 20:42:30 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 20:42:30 +0000] rev 36
  • disable redundant R/W logging

fix ROMLMAP handling

  • Thu, 02 Dec 2010 20:19:20 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 20:19:20 +0000] rev 35
  • fix ROMLMAP handling

rewrite memory access routines

  • Thu, 02 Dec 2010 19:30:46 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 19:30:46 +0000] rev 34
  • rewrite memory access routines

Fix mallocing issue with ram array

  • Thu, 02 Dec 2010 17:12:28 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Thu, 02 Dec 2010 17:12:28 +0000] rev 33
  • Fix mallocing issue with ram array

    RAM storage array was not being correctly allocated at startup. This caused memory access issues... Spotted with Valgrind, fixed.