07-19-2011, 11:49 AM
Quote:I think it could be a good idea to place a comment in the beginning of the ASM file which read something like: ";; Generated by ZX Basic version XXXX". What do you think?
I would think that would be a very good idea to keep track and to avoid confusion. I have a program made for the 16K that takes up all of the lower memory and it's made with 1.2.6 and I have not recompiled it for the new version might run out of memory, so I keep 1.2.6 around.
My asm file is 65.286 bytes. Yours is 64.091 bytes.
The code for rnd in the zip file:
Code:
__LABEL__DrawTriangles:
call RND
push bc
push de
push af
ld a, 082h
ld de, 00040h
ld bc, 00000h
call __MULF
call __FTOU32REG
inc hl
ld a, l
ld (_rn), a
Are you sure you compiled it with this statement?
"rn=CAST(UINTEGER,RND)*3+1"