TMF Hg
changelog
- Tue, 21 May 2013 22:48:32 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Tue, 21 May 2013 22:48:32 +0100] rev 145
- Code clean up
* Tighten optimisation and warning options to find more potential issues
* Remove unused variable in keyboard code
* Display error message if ROMs fail to load
* Fix format string bugs in WD2010
- Fri, 12 Apr 2013 16:26:25 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Fri, 12 Apr 2013 16:26:25 +0100] rev 144
- Don't set PS1 if there is a level-7 interrupt or bus error
PS1 should only be set if the page was originally present (PS1 or PS0 set). If
PS0 and PS1 are clear (page not present) then do NOT set PS1.
Once again the TRM is blatantly and spectacularly wrong...
- Fri, 12 Apr 2013 12:37:34 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Fri, 12 Apr 2013 12:37:34 +0100] rev 143
- Flush stderr after printing debug messages
- Fri, 12 Apr 2013 12:37:13 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Fri, 12 Apr 2013 12:37:13 +0100] rev 142
- Make the page table volatile (it may change behind gcc's back)
- Fri, 12 Apr 2013 12:36:28 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Fri, 12 Apr 2013 12:36:28 +0100] rev 141
- Make mapper debug logic more verbose (but disable by default)
- Fri, 12 Apr 2013 12:34:32 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Fri, 12 Apr 2013 12:34:32 +0100] rev 140
- Fix read-after-write logic
In some cases (notably reading from a page after having written to it), the
mapper may change the pagestate from "accessed and written" ("dirty"; PS0,PS1)
to "accessed but not written" (clean; PS1,!PS0). This should never, ever, EVER
happen. Once a page is dirty, it remains so until the 68k clears the DIRTY
bit.
Once again, this wonderful bit of logic was missing from the TRM.
- Thu, 11 Apr 2013 09:37:25 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Thu, 11 Apr 2013 09:37:25 +0100] rev 139
- Fix potential unassigned variable
- Thu, 11 Apr 2013 09:37:11 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Thu, 11 Apr 2013 09:37:11 +0100] rev 138
- Check return value of fread()
- Thu, 11 Apr 2013 09:36:53 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Thu, 11 Apr 2013 09:36:53 +0100] rev 137
- Enable code optimisation to improve quality of GCC warnings
- Thu, 11 Apr 2013 09:18:31 +0100
- by Philip Pemberton <philpem@philpem.me.uk> [Thu, 11 Apr 2013 09:18:31 +0100] rev 136
- Code cleanup
* Fix some compiler warnings --
* string format
* shift greater than type size,
* unused variable.