Search found 656 matches

by jedie
Tue Oct 22, 2013 10:11 am
Forum: Hints and Tips
Topic: Howto try small machine code programs in BASIC ?
Replies: 53
Views: 26778

Re: Howto try small machine code programs in BASIC ?

I rework on a older test with ADDA: 270 ' MACHINE CODE IN HEX 280 ' LDA $4500 290 DATA B6,45,00 300 ' ADDA 1 310 DATA 8B,01 320 ' TFR CC,B + STD $4502 330 DATA 1F,A9,FD,45,02 340 ' LDA $4500 350 DATA B6,45,00 360 ' ADDA 2 370 DATA 8B,02 380 ' TFR CC,B + STD $4504 390 DATA 1F,A9,FD,45,04 400 ' LDA $4...
by jedie
Tue Oct 22, 2013 8:59 am
Forum: Hints and Tips
Topic: Howto try small machine code programs in BASIC ?
Replies: 53
Views: 26778

Re: Howto try small machine code programs in BASIC ?

You're right! Thanks! INC from $7f to $80 result in V=1 in XRoar. But if i INC $ff (-1) then its wrap around to $0 (dez. 0) so it goes from negative -1 to positive 0 ? Or has 0 no sign? I would like to run the .bas file on a real Dragon, but PyDC doesn't work, see: http://archive.worldofdragon.org/p...
by jedie
Tue Oct 22, 2013 8:56 am
Forum: Hints and Tips
Topic: PyDC converter (was: dragon 32 cassette format ?)
Replies: 80
Views: 54309

Re: dragon 32 cassette format ?

Trying to convert testCC_INC.bas with PyDC into a .wav file and CLOAD it into a real Dragon results in a DS ERROR.
Loading the same WAV into XRoar works.

:cry:
by jedie
Tue Oct 22, 2013 8:01 am
Forum: Hints and Tips
Topic: Emulate Floppy with a Raspberry Pi ?
Replies: 22
Views: 17657

Re: Emulate Floppy with a Raspberry Pi ?

again, some news here: http://virtualfloppy.blogspot.ca/ e.g.: "Using the Raspberry Pi to Read Floppy Disks"
by jedie
Mon Oct 21, 2013 10:44 pm
Forum: Dragon General
Topic: Dragon emulator written in Python ???
Replies: 106
Views: 93861

Re: Dragon emulator written in Python ???

After a few updates i get no OM ERROR anymore. But not really working. Often a SN ERROR or something else.
by jedie
Mon Oct 21, 2013 10:14 pm
Forum: Hints and Tips
Topic: Howto try small machine code programs in BASIC ?
Replies: 53
Views: 26778

Re: Howto try small machine code programs in BASIC ?

I add another CC test with INC: https://github.com/jedie/PyDragon32/blob/master/TestCC_Registers/testCC_INC.bas Machine code: 1010 ' CLR B 1020 DATA 5F 1030 ' LDB $11 ; B=$11 1040 DATA C6,11 1050 ' ADDB $1 ; B=B+$1 1060 DATA CB,01 1070 ' INC $4500 1080 DATA 7C,45,00 1090 ' TFR CC,B 1100 DATA 1F,A9 1...
by jedie
Mon Oct 21, 2013 4:00 pm
Forum: Dragon General
Topic: Dragon emulator written in Python ???
Replies: 106
Views: 93861

Re: Dragon emulator written in Python ???

I'm done many updates and used the new 6809 opcode data, see: http://archive.worldofdragon.org/phpBB3/viewtopic.php?f=8&t=4388#p9703 Now the Simple6809 works a little bit more: I can input some code... but get allways "OM ERROR" Back. Think there is a bug in carry flag, because of this: * CHECK TO S...
by jedie
Mon Oct 21, 2013 12:17 pm
Forum: Hints and Tips
Topic: Dragon 32 system/user stack...
Replies: 6
Views: 4684

Re: Dragon 32 system/user stack...

You are right. Thanks for the tip!
by jedie
Mon Oct 21, 2013 9:34 am
Forum: Hints and Tips
Topic: 6809 opcode missmatch...
Replies: 9
Views: 5955

Re: 6809 opcode missmatch...

Good point! Thanks.

In my usage the read_from_memory "excluded" the address part. So if the address mode will fetch the memory to get the effective address, but the content of the memory is not needed in the instruction them self, the read_from_memory must be set to False.
by jedie
Sun Oct 20, 2013 1:26 pm
Forum: Hints and Tips
Topic: 6809 opcode missmatch...
Replies: 9
Views: 5955

Re: 6809 opcode missmatch...

I didn't found a better reference. So i merge the information i have, with this script: https://github.com/jedie/DragonPy/blob/master/MC6809data/MC6809_data2.py The result is this: https://github.com/jedie/DragonPy/blob/master/MC6809data/MC6809_data_raw2.py It looks noe like this: OP_DATA = {ABX: {'...