Page 3 of 4

Re: Possible bug in ZX81x2 ROM ?

Posted: Tue Oct 30, 2018 10:45 pm
by gammaray
Where do we send the money? (To help motivation...)
I'll check the whole listing tonight to see if there are any another esoteric ROM calls.

Regards;

Greg

Re: Possible bug in ZX81x2 ROM ?

Posted: Tue Oct 30, 2018 10:47 pm
by zsolt
Hi Siggi,
siggi wrote: Tue Oct 30, 2018 7:47 pm the C compiler z88dk also can use the ZX81 math routines in rom to do floating point calculations (depending on the linked math lib). As I understood the source files, it uses RST $28 to call the rom math routines. Does that still fit to your rom?
The only difference was the address of the TEST_5_SP routine - already fixed, see below. :D

(edited: 02.11.2018)

Re: Possible bug in ZX81x2 ROM ?

Posted: Wed Oct 31, 2018 2:55 pm
by GCHarder
Here's a list of the ROM calls used, the Siggi problem is caused by the STR$ function being moved.

;------- Rom and Ram Symbols -------
SLOW equ $0F2B
DISPLAY_5 equ $02B5
DISPLAY_3 equ $0292
LOOP_11 equ $0216
SCANNING equ $0F55
FP_TO_A equ $15CD
FIND_INT equ $0EA7
STACK_BC equ $1520
FP_TO_BC equ $158A
LOOK_VARS equ $111C
TEMP_PTR1 equ $004C
STACK_A equ $151D
N_MOD_M equ $1C37
STR_STR equ $1BD5 Moved to $1B8D?, Handle STR$
STK_FETCH equ $13F8
TOKEN_ADD equ $0975
REPORT_2 equ $0D4B
MOVE_FP equ $19F6 Moved to $19FD?, MOVE A FLOATING POINT NUMBER
SET_FAST equ $02E7
BREAK_1 equ $0F46
COPY_BRK equ $0880
SLOW_FAST equ $0207
REPORT_D2 equ $0888
DECODE equ $07BD
TEMP_PTR2 equ $004D
LAST equ $1DFD Changed?

Regards;

Greg

Re: Possible bug in ZX81x2 ROM ?

Posted: Thu Nov 01, 2018 10:08 am
by siggi
I think, the "calendar" program also fails due to "STR_STR ":
after "1987.p" is running (and showing the calendar of 1987), pressing "M" writes the name of the months on screen. But pressing "Y" (which should write the year "1987" to screen), the Zeddy crashes.

Siggi

http://www.pictureviewerpro.com/hosting ... lendar.zip
http://www.pictureviewerpro.com/hosting/zx81/fredn.htm

Re: Possible bug in ZX81x2 ROM ?

Posted: Fri Nov 02, 2018 8:38 pm
by zsolt
Hi,

The 'MODULUS', the 'TEST 5 SPACES', the 'COPY A FLOATING POINT NUMBER' and the 'STR$' routines have been moved back to their original location. :D

Enjoy,
Zsolt

Re: Possible bug in ZX81x2 ROM ?

Posted: Fri Nov 02, 2018 8:58 pm
by Moggy
zsolt wrote: Fri Nov 02, 2018 8:38 pm Hi,

The 'MODULUS', the 'TEST 5 SPACES', the 'COPY A FLOATING POINT NUMBER' and the 'STR$' routines have been moved back to their original location. :D

Enjoy,
Zsolt
Slow down Zsolt I'm running out of EPROMS!! :lol:

Fantastic work sir.

Regards.

Moggy.

Re: Possible bug in ZX81x2 ROM ?

Posted: Fri Nov 02, 2018 9:39 pm
by siggi
Hi ZSOLT
works perfectly on EO :mrgreen:
Also the calendar program works as expected.

But I found a slightly different behavior on ZxMore: when running HRDEMO30.P: the program does not crash. But while the blinking eye is moving from left top corner to right lower corner, the screen is inverted on EO, but white on ZxMore. Also in the end some inverted screens are not inverted.
Is the ZxMore-version not completely up-to-date?

Siggi

Re: Possible bug in ZX81x2 ROM ?

Posted: Fri Nov 02, 2018 9:42 pm
by siggi
Moggy wrote: Fri Nov 02, 2018 8:58 pm Slow down Zsolt I'm running out of EPROMS!! :lol:
I am using EEPROMs (or flash in ZxMore). So I can update my Zeddies also in winter, when the sun is on holidays (and cannot be used to erase EPROMs) :mrgreen:

Siggi

Re: Possible bug in ZX81x2 ROM ?

Posted: Fri Nov 02, 2018 10:16 pm
by gammaray
By the time I am set up to make EPROMS, ZX81x2 will be a final revision!

I just recently reorganiZ'ed my Z'office full of half-started projects. Ya'll go to fast for me... :D

Re: Possible bug in ZX81x2 ROM ?

Posted: Fri Nov 02, 2018 10:21 pm
by Moggy
siggi wrote: Fri Nov 02, 2018 9:42 pm
Moggy wrote: Fri Nov 02, 2018 8:58 pm Slow down Zsolt I'm running out of EPROMS!! :lol:
I am using EEPROMs (or flash in ZxMore). So I can update my Zeddies also in winter, when the sun is on holidays (and cannot be used to erase EPROMs) :mrgreen:

Siggi
Ha Ha I hate you Siggi I hate you. :lol:

This is fun.