Date : Mon, 19 Jul 2010 00:01:39 +0100
From : tom@... (Tom Seddon)
Subject: FileStore emulator 2010/07/18
If you're writing your own 6502 tests, there might be no need -- there's a
6502 test suite on the model-b page:
http://www.modelb.bbcmicro.com/tech.html
Very easy to bodge into an emulator. The linked-to mailing list post
explains what to do.
--Tom
> 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...
>
>
>
> _______________________________________________
> bbc-micro mailing list
> bbc-micro@...
> http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
>