Search found 656 matches

by jedie
Sat Jul 12, 2014 9:06 pm
Forum: Dragon General
Topic: Dragon emulator written in Python ???
Replies: 106
Views: 93906

Re: Dragon emulator written in Python ???

Update, after last bugfixes: 6809 EXTENDED BASIC (C) 1982 BY MICROSOFT OK 10 FOR I=1 TO 3 20 PRINT STR$(I)+" DRAGONPY" 30 NEXT I RUN .0/////909 DRAGONPY .0/////909 DRAGONPY OK Strange :P I found the Bug, i found the bug, i found the buuuuuug... 6809 EXTENDED BASIC (C) 1982 BY MICROSOFT OK 10 FOR I=...
by jedie
Sat Jul 12, 2014 8:23 pm
Forum: Dragon General
Topic: INCB and CC...
Replies: 3
Views: 2114

INCB and CC...

I compare some trace in my Emulator with the XRoar one. For compare the CC values i add --add_cc in my add_info_in_trace.py with commit https://github.com/jedie/PyDragon32/commit/cc875929d70d7ad8ad58ead95a94732ad02c4c03 The thread here is about INCB and the CC flags. I saw this: The XRoar trace: 920...
by jedie
Sat Jul 12, 2014 8:16 pm
Forum: For Sale
Topic: Request: Two german Books...
Replies: 6
Views: 6269

Re: Request: Two german Books...

According to http://neil.franklin.ch/Articles/20070428_VCFe_Basic_Interpreter.html the "Lexikon" has a ROM disassembly, so that might interest you :) Does this book have a red cover? In that case I think I have seen it and it is recommandable, it includes some details that are not covered in "Insid...
by jedie
Fri Jul 11, 2014 3:06 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 27849

Re: How does the floating point math package in BASIC work?

btw. have add working test with: JSR $e682 - CONVERT FPA0 TO A TWO BYTE INTEGER to D :) See: https://github.com/jedie/DragonPy/blob/ ... 09.py#L211
by jedie
Fri Jul 11, 2014 2:37 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 27849

Re: How does the floating point math package in BASIC work?

I tried the ROM routine "DIVIDE FPA0 BY 10". ROM code is here: https://github.com/jedie/DragonPy/blob/master/dragonpy/Simple6809/ExBasROM.LST#L3062 My Test code for 5 / 10 is: dividend = 0x5 self.cpu.accu_d.set(dividend) self.cpu_test_run(start=0x0300, end=None, mem=[ 0xBD, 0xE7, 0x78, # JSR $e778 ;...
by jedie
Fri Jul 11, 2014 11:13 am
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 27849

Re: How does the floating point math package in BASIC work?

I think it's time to try a division...

I searched for "divide" in simle6809 ROM Listing. The interesting ones seems:

$edcb: DIVIDE FPA0 BY 10
$edda: DIVIDE FPA1 BY FPA0 - Here i can use $eea8 to transfer FPA0 to FPA1
by jedie
Fri Jul 11, 2014 10:46 am
Forum: For Sale
Topic: Request: Two german Books...
Replies: 6
Views: 6269

Request: Two german Books...

I would like to buy these two German books: Das Dragon 32/64 Lexikon - Jörn W. Janneck, Till Mossakowski - Röckrath Mikrocomputer, Aachen 1984, ISBN 3-925074-05-8 Maschinensprache auf dem Dragon 32/64 - U. Schollwöck - IWT-Verlag, München 1984, ISBN 3-88322-105-8 Don't know if it would be worth it. ...
by jedie
Fri Jul 11, 2014 8:39 am
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 27849

Re: How does the floating point math package in BASIC work?

Found the error in your FP-Implementation: < for bit_no in reversed(xrange(1, 8)): --- > for bit_no in reversed(xrange(0, 8)): You are right! Big thanks! With commit https://github.com/jedie/DragonPy/commit/fdbab2e3532cc6cb03d097882c989fc7742beb60 it works from $1-$ff ;) Only the 0 is wrong: in RAM...
by jedie
Thu Jul 10, 2014 4:41 pm
Forum: Hints and Tips
Topic: Xroar trace filtering...
Replies: 7
Views: 5314

Re: Xroar trace filtering...

Have done some updates: --unique To create a "small" startup trace, do this: $ xroar -trace | python filter_xroar_trace.py --unique | tee startup_trace.txt "unique" will only collect a address one time. So "startup_trace.txt" is very small. It skips all trace lines, if the addresses was called in th...