[Coco] Random Numbers in 6809 assembly

David golgotha at toughguy.net
Thu Dec 30 05:41:25 EST 2004

Hi all,

I've been hunting through various books and online docs, and I'm yet to come
across a way of generating random numbers using pure 6809 assembly on the

anyone have any code snippets for this?

An update for my CHIP8 emulator - I have the set/reset graphics pixels
routines up and running extremely smoothly in semigraphics 4 mode, along
with a few other minor supporting routines

I'm constructing the main emulator in BASIC at the moment, just to tie
together various assembly routines for testing at this stage

and I'm loving Jeff V's Coco2 and Coco3 emulators, as their debugging
monitor is a God-send!

Please also note that I'm using good-old fashioned disk edtasm, as for some
reason portal-9 doesn't cooperate with my computer, and when I use cm.exe I
cant import the binaries properly to virtual coco disks.. life's tough :P

If anyone can help with a random number generating routine, it would be

David R

More information about the Coco mailing list