A mathematical demo
Posted: Fri Dec 30, 2016 5:37 pm
Hi. Happy New Year and Holidays!
I dare to present my small multi-platform project PI-DEMO. It is available at http://litwr2.atspace.eu/pi/pi-spigot-benchmark.html. It has versions for 6809 and 6309. 6309 shows 3.63 times faster speed than 6809!
I am using XROAR emulator. IMHO Xroar (+ GDB) is one of the best emulator in the world. I only would like to have the speed indicator (percentage) in the full throttle mode (F12) and a Linux port for gdb-6x09. However I have some doubts about the exactness of 6309 emulation. So I have to ask for a favor. Please run PI-DEMO with the real iron. It is interesting to know exactly the power of the 8-bit genuine CPU king. A lot of thanks in advance.
I had a little practice with 6x09 programming. So it would be great if somebody finds a way to make the codes a bit faster. The main loop to optimize is rather small and situated between `loop2' and `l4' labels. C sources are also provided. The current version of the demo shows Dragon with 6809 only 0.2% slower than Commodore-128 or BBC Micro...
I had a problem with very good asm6809 assembler. I can't force it to assemble TFR 0,B instruction of 6309. How to call the zero register with asm6809?
I dare to present my small multi-platform project PI-DEMO. It is available at http://litwr2.atspace.eu/pi/pi-spigot-benchmark.html. It has versions for 6809 and 6309. 6309 shows 3.63 times faster speed than 6809!
I am using XROAR emulator. IMHO Xroar (+ GDB) is one of the best emulator in the world. I only would like to have the speed indicator (percentage) in the full throttle mode (F12) and a Linux port for gdb-6x09. However I have some doubts about the exactness of 6309 emulation. So I have to ask for a favor. Please run PI-DEMO with the real iron. It is interesting to know exactly the power of the 8-bit genuine CPU king. A lot of thanks in advance.
I had a little practice with 6x09 programming. So it would be great if somebody finds a way to make the codes a bit faster. The main loop to optimize is rather small and situated between `loop2' and `l4' labels. C sources are also provided. The current version of the demo shows Dragon with 6809 only 0.2% slower than Commodore-128 or BBC Micro...
I had a problem with very good asm6809 assembler. I can't force it to assemble TFR 0,B instruction of 6309. How to call the zero register with asm6809?