<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 19 Jul 2010 00:22:26 +0200
From   : rick@... (Rick Murray)
Subject: FileStore emulator 2010/07/18

On 18/07/2010 06:28, Rick Murray wrote:

> http://www.heyrick.co.uk/econet/fs/emulator.html

Done some work and wrote the beginnings of a test suite - to test for 
basic register interactions, addressing modes, and branches. This 
allowed for me to tweak a number of issues in the CPU core so...

...great news! The emulation no longer crashes. The log (from v1.33 
firmware, but 1.31 and 1.40 are similar) now has this bit:
--8<--------
     9316864 &FA25 : HDC write: 83 -> 0 [Data/Data  %01010011]
     9316868 &FA28 : HDC write: 0 -> 3 [--/EnableIRQ  %00000000]
     9316868 &FA2B : HDC read : <- 0 [Data/Data]
     9317620 &FA25 : HDC write: 83 -> 0 [Data/Data  %01010011]
     9317624 &FA28 : HDC write: 0 -> 3 [--/EnableIRQ  %00000000]
     9317624 &FA2B : HDC read : <- 0 [Data/Data]
     9318376 &FA25 : HDC write: 83 -> 0 [Data/Data  %01010011]
     9318380 &FA28 : HDC write: 0 -> 3 [--/EnableIRQ  %00000000]
     9318380 &FA2B : HDC read : <- 0 [Data/Data]
     9319132 &FA25 : HDC write: 83 -> 0 [Data/Data  %01010011]
     9319136 &FA28 : HDC write: 0 -> 3 [--/EnableIRQ  %00000000]
     9319136 &FA2B : HDC read : <- 0 [Data/Data]
     9320162 &F9F4 : FDC change: Test=No, MRst=No, DDen=Yes;
                                 FDC1=Yes, FDC2=No, Side=0
     9320162 &F9F4 : Mode LED off
     9320162 &F9F7 : FDC read : <- 0 [Status/Command]
     9320178 &FA07 : FDC write: 80 -> 1 [Track  %01010000]
     9320178 &FA0A : FDC read : <- 1 [Track]
     9320190 &F9FF : FDC write: 208 -> 0 [Status/Command  %11010000]
     9320390 &FA07 : FDC write: 80 -> 1 [Track  %01010000]
     9320390 &FA0A : FDC read : <- 1 [Track]
     9320402 &F9FF : FDC write: 208 -> 0 [Status/Command  %11010000]
--8<--------

And the last three lines repeat ad finatum.


I will not do anything re. the FDC or HDC hardware as I want to create 
more parts of the test suite, make sure the emulation is correct...


I have updated the release and source with the changes.


Now to unwind with a movie. :-)


Best wishes,

Rick.

-- 
Rick Murray, eeePC901 & ADSL WiFI'd into it, all ETLAs!
BBC B: DNFS, 2 x 5.25" floppies, EPROM prog, Acorn TTX
E01S FileStore, A3000/A5000/RiscPC/various PCs/blahblah...
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>