Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 308
» Latest member: aashleyittleoz1021
» Forum threads: 1,067
» Forum posts: 6,393

Full Statistics

Online Users
There are currently 330 online users.
» 1 Member(s) | 327 Guest(s)
Bing, Google, aashleyittleoz1021

Latest Threads
Download links broken
Forum: Bug Reports
Last Post: xthunderheartx@gmail.com
8 hours ago
» Replies: 3
» Views: 58
ZXodus][Engine
Forum: ZX Basic Compiler
Last Post: cheveron
11 hours ago
» Replies: 68
» Views: 203,372
Breaking loops
Forum: Bug Reports
Last Post: boriel
02-16-2025, 10:26 PM
» Replies: 9
» Views: 295
2D Array Errors
Forum: Bug Reports
Last Post: boriel
02-16-2025, 04:05 PM
» Replies: 1
» Views: 64
put small ASM programs li...
Forum: How-To & Tutorials
Last Post: funkheld
02-11-2025, 07:15 AM
» Replies: 5
» Views: 294
Filling drawings
Forum: Help & Support
Last Post: boriel
02-09-2025, 04:36 PM
» Replies: 3
» Views: 182
Headerless load routine i...
Forum: Help & Support
Last Post: Maywind
02-06-2025, 12:49 PM
» Replies: 2
» Views: 178
Just Installed ZXBasicStu...
Forum: Help & Support
Last Post: Duefectu
01-31-2025, 06:23 PM
» Replies: 8
» Views: 583
Unable to see Key Words
Forum: Help & Support
Last Post: Duefectu
01-31-2025, 06:21 PM
» Replies: 1
» Views: 257
404 page not found
Forum: Documentation
Last Post: ChewBakker
01-31-2025, 10:35 AM
» Replies: 1
» Views: 2,117

 
  system routines from spectrum 48k for zxbasic.
Posted by: funkheld - 11-10-2024, 02:02 PM - Forum: How-To & Tutorials - Replies (3)

hello, good day.

I want to buy "the spectrum" at the age of 76.
I come from Germany.
I'm currently playing with the fuse and the zxbasic.
This zxbasic is wonderful.

I also play with the asm from the zxbasic.
I now want to learn how to use the system routines of the spectrum 48k with the zxbasic-asm.

Where can I find a system listing for the spectrum 48k?

thanks.
Best wishes

Print this item

  Error on last version of the compiler (solved)
Posted by: zarsoft - 10-18-2024, 03:22 PM - Forum: Bug Reports - Replies (4)

My program works when compiled in version 116 but does not work when compiled in version 117.

Example:
- select 3 discs.
- move from 1 to 3
- move from 3 to 1

It gives an error in the last version.
(see attached files)
.zip   NewCompiler.zip (Size: 16.87 KB / Downloads: 105)

Print this item

  Error: Permission denied on new installation (solved)
Posted by: zarsoft - 10-15-2024, 07:14 PM - Forum: Bug Reports - Replies (2)

Permission denied on new installation.
(see image)

And now, what do I do to resolve this?



Attached Files
.png   ZXBASIC Error.png (Size: 58.36 KB / Downloads: 157)
Print this item

  LN(0.5) = positive!!!!! (solved)
Posted by: zarsoft - 10-07-2024, 07:15 PM - Forum: Bug Reports - Replies (5)

Code:
DIM r1,r2 AS FLOAT

r1 = RND

r2 = (r1)
PRINT "r1=";r2

r2 = LN(r1)
PRINT "LN(r1)=";r2



Attached Files
.tap   Test.tap (Size: 6.18 KB / Downloads: 0)
Print this item

  Error: LET string1 = string1 ( 1 TO LEN string1) (solved)
Posted by: zarsoft - 08-14-2024, 10:45 AM - Forum: Bug Reports - Replies (3)

In my program I had

DIM EDLINE AS STRING ' global variable

and if I wrote

EDLINE = EDLINE( TO LEN EDLINE-2)

then the test

EDLINE = ""

it didn't always work

and I had to use

LEN EDLINE = 0


Then I changed it to

aux = EDLINE( TO LEN EDLINE-2)
EDLINE = aux

and the test

EDLINE = ""

worked well.

Print this item

  Error: loop ends every second (solved)
Posted by: zarsoft - 08-07-2024, 07:37 PM - Forum: Bug Reports - Replies (5)

When you press "1" the loop ends every second.

Code:
SUB Menu
DIM k$ AS STRING
CLS
PRINT
DO
  PRINT
  PRINT
  PRINT "MENU"
  PRINT " 1 - Test"
  PRINT " 0 - Exit"
  DO
    k$ = INKEY$
  LOOP UNTIL (k$ >= "0") AND (k$ <= "1") ' loop ends every second
  'LOOP UNTIL k$ <> "" ' runs OK
  'LOOP UNTIL (k$ = "0") OR (k$ = "1") ' runs OK
  'LOOP UNTIL (k$ >= "0") AND (k$ <= "1") ' loop ends every second
  PRINT
  IF k$ = "1" THEN PRINT "Option 1"
LOOP UNTIL k$ = "0"  
PRINT
PRINT
PRINT
END SUB

Menu

Print this item

  Error: -1
Posted by: zarsoft - 08-06-2024, 08:54 AM - Forum: Bug Reports - Replies (1)

DIM s AS STRING
s = ""
PRINT LEN s-1 ' gives 65535
PRINT LEN ""-1 ' gives -1

Print this item

  attr.bas syntax error
Posted by: csk - 07-14-2024, 05:38 PM - Forum: Bug Reports - Replies (3)

Hi! I'm writing a game about a pig that has to eat various food items. Food items are realized by means of UDG's stored in DATA lines and READ in en masse at the beginning of the game. Then, to draw the necessary items, I move address 23675/-76 to the required location. Until yesterday, the system worked flawlessly. Now I added a new item, and the compiler began to throw the following errors. The highest address an UDG byte is stored is 65294, i.e. AFAIK it is still allowed. I did nothing else than add the new DATA files and jump conditions to draw the new item, and what previously worked impeccably, just stopped doing so. I simply don't know what to do. Could you help? Thanks in advance!


.jpg   Clipboard01.jpg (Size: 232.31 KB / Downloads: 240)

Print this item

  My computer is haunted!
Posted by: zarsoft - 05-22-2024, 10:30 AM - Forum: Bug Reports - No Replies

My program gives intermittent errors.
The result also depends on the emulator.
What's going on here?
Program error? Is the compiler broken?

[Image: Trace.png]
files: files.zip

Print this item

  Includes in ASM
Posted by: bracckets - 03-27-2024, 03:16 PM - Forum: How-To & Tutorials - Replies (2)

Is it possible to use assembler includes in the inline ASM code blocks
so the assembler can be broken down into files, e.g.

INCLUDE maths.asm

Also is it possible to include binary files in the assembler e.g.

BINARY 'test.bin'

Thanks

Print this item