The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Out of memory when using uinteger array (*solved*)
#11
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"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)