| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 273
» Latest member: mindlin
» Forum threads: 1,085
» Forum posts: 6,486
Full Statistics
|
| Online Users |
There are currently 79 online users. » 0 Member(s) | 78 Guest(s) Google
|
| Latest Threads |
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 216
|
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 692
|
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: Duefectu
2026-02-09, 01:52 PM
» Replies: 3
» Views: 1,067
|
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 1,677
|
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 812
|
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 935
|
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 475
|
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 945
|
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 1,109
|
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 839
|
|
|
| One more optimizer bug (*solved*) |
|
Posted by: einar - 2016-05-07, 05:46 PM - Forum: Bug Reports
- Replies (7)
|
 |
File "test.bas":
Code: sub test()
asm
ld hl, 56469
ld de, 5
ld (hl), e
inc l
ld (hl), d
; ret
end asm
end sub
test()
Trying to compile it:
Code: >zxb.exe -t -O3 test.bas -o test.tap
Traceback (most recent call last):
File "zxb.py", line 348, in <module>
File "zxb.py", line 301, in main
File "optimizer.pyc", line 2290, in optimize
File "optimizer.pyc", line 1949, in optimize
File "optimizer.pyc", line 680, in op
File "optimizer.pyc", line 538, in inc
File "optimizer.pyc", line 432, in set
TypeError: unsupported operand type(s) for <<: 'NoneType' and 'int'
Compiling it without "-O3" works just fine.
|
|
|
| Control codes |
|
Posted by: rikokun - 2016-04-18, 11:02 PM - Forum: Help & Support
- Replies (6)
|
 |
Hi
I'm new here, so excuse me if anyone asked this before. I tryed to search for it but didnt find anything.
So i'm playing with ZX basic for last week or so and i was doing some of my usual tests.
In one of them i was trying to print out a block of characters with random ink and color. And because making a loop that will print it character by character is rather slow, i tryed to be clever. It didn't work ^_^
So my problem:
i wanted to make a string variable with control codes that i would print out. And sure enough if i do
p$="\{i5}X"
print p$
it work just fine.
Problem is when i want to put some randomness to it and do something like
i$=str(int(rnd*7))
p$="\{i"+i$+"}X"
print p$
it outputs
\{i2}X
instead of colored X. In my mind, it should work...
Am i doing something wrong?
Also, implementing AT as \{ax,y} like it works in BASin would be nice ^_^
Thanks for your help
|
|
|
| INPUT problem |
|
Posted by: 365Ink - 2016-03-24, 09:16 PM - Forum: Bug Reports
- Replies (1)
|
 |
Hello everyone!
I have this slight problem with INPUT. INPUT seems to be unrecognized by the compiler. Wherever I put input it just wouldnt work. Is there any workaround? Thanks.
|
|
|
| Wish Add Betadisk Syntax |
|
Posted by: Luzie - 2016-02-23, 08:31 PM - Forum: Wishlist
- Replies (3)
|
 |
Hi,
my wish:
Can you please add Betadisk-BASIC-Syntax:
Betadisk 48k TRDOS v4 e.g.: RANDOMIZE USR 15363: REM: SAVE "X" CODE 16384,6912
or:
Betadisk 128k TRDOS v5 e.g.: RANDOMIZE USR 15619: REM: SAVE "X" CODE 16384,6912
Both change the adress of the BASIC-interpreter to point behind the REM: and than do a call to ROM
Betadisk 48k TRDOS v4 to: 15363
or:
Betadisk 128k TRDOS v5 to: 15619
and after that restore the BASIC-interpreter-pointer to the next line
Regards,
Luzie
|
|
|
|