[System09] Testing a 6809 implementation.

John Kent jekent at optushome.com.au
Fri Jul 10 12:39:18 UTC 2009


I meant I compared the FPGA implementation on the Spartan 3E board to a 
compatible implementation I designed myself using the original chips.

John.

John Kent wrote:
> Hi Michael,
>
> The Parallex Propeller is an interesting chip. I did write a test suite 
> of instructions for the 6809 board. It was done as a paid job, so I'm 
> not sure who actually owns the software. I used a timer interrupt that 
> single stepped through each of the instructions and dumped the registers 
> and condition codes. I compared the register trace against the same code 
> on a real target board.
>
> I have updated the VHDL code since doing those tests to make the CPU 
> core more compact. I have not looked at your code yet, but there is a 
> SWTPc Emulator for the PC, and Ray Bellis from the psychology department 
> at Oxford university wrote an emulator in C++ called usim0.91 which you 
> could possibly port to the Propeller, unless you wanted to design your 
> own. There is also mess/mame emulators for the 6809, that you could 
> leaver off. Ray's emulator had a number of bugs in it, which I think 
> Soren Roug ironed out for his Dragon OS9 emulator. I have not tried 
> Soren's code, but I implemented FD1771 floppy disk emulation years ago 
> for Ray's emulator, to run Flex9, which is how I found it had bugs in it.
>
> Soren's web site is here
>
> http://www.roug.org/soren/6809/
>
> It looks like his project is on source forge.
>
> It would be nice to design some PCBs using the original chips, possibly 
> for the SWTPc and possibly to run UniFlex, although I have enough 
> projects on my plate as it is and I should really be studying.
>
> John.
>
> Michael Rychlik wrote:
>   
>> I have recently discovered the System 09 - VHDL 6809  System on a chip 
>> project and it is something that interests me in order to satisfy my 
>> desire to get into FPGAs.
>>
>> In the mean time I have a little project going on to write a 6809 
>> emulator in assembler that runs on the Parallax Inc Propeller 
>> micro-controller. I'm wondering if anyone here can suggest a way of 
>> testing my implementation?
>>
>> I have already created a Z80 emulation for the Propeller which is very 
>> well tested by an instruction set test program EXZ80. That program 
>> executes some hundreds of thousands of op-code test cases and compares 
>> CRCs of batches of results against the CRCs obtained running the same 
>> tests on a real Z80.
>>
>> Is there such an instruction set test suite for the 6809? Is there a  
>> better way to test my implementation? How was System09 tested?
>>
>> My 6809 emulator is 
>> here: http://forums.parallax.com/forums/default.aspx?f=25&m=355169 
>> <http://forums.parallax.com/forums/default.aspx?f=25&m=355169>
>>
>> Thank you for any assistance.
>>     
>
>   

-- 
http://www.johnkent.com.au
http://members.optushome.com.au/jekent




More information about the System09 mailing list