Search found 67 matches

by JeeK
Wed Jul 09, 2014 8:50 pm
Forum: Dragon General
Topic: disassembled Dragon 32 ROM ?
Replies: 48
Views: 20318

Re: disassembled Dragon 32 ROM ?

Again the Questions: Why are the UNRAVELLED Books exist from the CoCo ROM? IMHO they contain the complete ROM, isn't it? Are they not official? Illegal? Even if the permission to print it in a book was given (or not), from this you will never allowed to derive a permission that it could be publish ...
by JeeK
Wed Jul 09, 2014 8:35 pm
Forum: Dragon General
Topic: disassembled Dragon 32 ROM ?
Replies: 48
Views: 20318

Re: disassembled Dragon 32 ROM ?

[..] But i find e.g. the Source code of C64 BASIC for download here: http://www.davidviner.com/cbm9.html The disclaimer there: Please note that, while I am making this source available, I'm not really sure if I have the authority to do so. If anyone knows for certain one way or the other then pleas...
by JeeK
Wed Jul 09, 2014 9:07 am
Forum: Dragon General
Topic: disassembled Dragon 32 ROM ?
Replies: 48
Views: 20318

Re: disassembled Dragon 32 ROM ?

Again the Question: Has anyone a better disassembled D32 ROM ? Better one as: https://gist.github.com/jedie/6573826 ? Caution! Sorry, but this listing is not complete. Just an example: L_942D lda <$50 ; $942d: Jumped to from GIVABF routine at 8c37-8c3f - returns 16 bit value in FAC to BASIC ?? L_94...
by JeeK
Wed Jul 09, 2014 9:01 am
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

If D is loaded from $4500, the BASIC code has to poke the whole 16 bit value into &H4500 and &H4501. POKE &H4500,D2/256 POKE &H4501,255 AND D2 You are right. I changed it, see: https://gist.github.com/jedie/22dba94f5b7534f946f9/revisions But also, doesn't work :( This was just a technical bug fix, ...
by JeeK
Wed Jul 09, 2014 8:41 am
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

If D is loaded from $4500, the BASIC code has to poke the whole 16 bit value into &H4500 and &H4501. POKE &H4500,D2/256 POKE &H4501,255 AND D2 You are right. I changed it, see: https://gist.github.com/jedie/22dba94f5b7534f946f9/revisions But also, doesn't work :( This was just a technical bug fix, ...
by JeeK
Tue Jul 08, 2014 11:22 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

All C6 opcodes should be D6 ... I have changed all C6 to D6, see complete code: https://gist.github.com/jedie/22dba94f5b7534f946f9 :D [..] I think another bug seems to be in passing the value for D: 551 D2=(D+I) 'AND &HFFFF 552 'PRINT "SET D=";D2 553 POKE &H4500,D2 ' SET START VALUE [..] 1000 ' MAC...
by JeeK
Tue Jul 08, 2014 11:10 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

All C6 opcodes should be D6 ... I have changed all C6 to D6, see complete code: https://gist.github.com/jedie/22dba94f5b7534f946f9 :D EDIT: I testes bigger values and see: [..] Seems that "mantissa sign" switched correctly? Whatever you expecting, I doubt that $8C37 does it in this way. A $942D it ...
by JeeK
Tue Jul 08, 2014 4:19 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

[..] EDIT: OK, found one error, e.g.: 1050 ' LDB #$4F 1060 DATA C6,4F changed to: 1050 ' LDB $4F 1060 DATA D6,4F But also not working correctly: [..] There are multiple errors: 1050 ' LDB #$4F <-------- 1060 DATA C6,4F 1070 ' STB $104F 1080 DATA F7,10,4F 1090 ' LDB #$50 <-------- 1100 DATA C6,50 11...
by JeeK
Tue Jul 08, 2014 2:41 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

I try to create a BASIC test programm. But what's the address of the "Assign D to FAC" in D32 Basic? I tested $8C37 from Inside Dragon page 234 But without success: [..] Source code of my test program: https://github.com/jedie/PyDragon32/blob/bf05deebeb041e1184dd94d914edf3e25692ef36/FloatingPoint/t...
by JeeK
Tue Jul 08, 2014 2:31 pm
Forum: Hints and Tips
Topic: How does the floating point math package in BASIC work?
Replies: 41
Views: 25799

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

for space, e.g. storing values in variables or variable arrays: the sign is encoded in the first leading bit of the mantissa which is always 1, because the mantissa is normalized (starts always with 0.1xxxxx). Then it looks simmilar to the C64 example here: http://www.c64-wiki.com/index.php/Floatin...