The following warnings occurred:
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval
Warning [2] Undefined array key "attachments" - Line: 20 - File: portal.php(680) : eval()'d code PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/portal.php(680) : eval()'d code 20 errorHandler->error_callback
/portal.php 680 eval




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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 274
» Latest member: zxspecticle
» Forum threads: 1,086
» Forum posts: 6,487

Full Statistics

Online Users
There are currently 139 online users.
» 0 Member(s) | 138 Guest(s)
Bing

Latest Threads
New video Couse / Nuevo c...
Forum: News
Last Post: Duefectu
2026-04-29, 11:02 PM
» Replies: 0
» Views: 212
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 485
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 1,297
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: Duefectu
2026-02-09, 01:52 PM
» Replies: 3
» Views: 1,389
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 2,076
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 1,080
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 1,179
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 630
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 1,217
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 1,380

 
  --base-string=1 issue (* solved *)
Posted by: LTee - 2017-06-19, 08:21 PM - Forum: Bug Reports - Replies (7)

Hi guys,

It's been a while but I recently started trying to convert a program written in 'standard' Sinclair BASIC so that it would compile with ZX Basic. It's going fairly well, but I've come across a problem with the --base-string option in release 1.5.3.

Take a look at this short program, which is supposed to replace 'character 1' in a string:

Code:
dim st as string cls let st="test" print st(1) let st(1)="X" print st(1) print st

If I compile this with --base-string=0 then the result is 'e/X/tXst', as I would expect.

However, if I compile with --base-string=1 then the result is 't/t/tXst' rather than 't/X/Xest'. It seems the read of char '1' respects the setting, but the write does not.

I've been having some pretty weird crash errors that look like memory being randomly overwritten - wondering if maybe this might have something to do with it (fingers crossed).

Thanks in advance for anything you can do to help! Smile

Print this item

  First game in Radastan Mode
Posted by: symbolshift - 2017-06-18, 08:09 PM - Forum: Gallery - No Replies

Hi!

This is a very simple (and with some bugs) breakout clone game my friend Pooky and I did just to try out the Radastan Mode with Boriel Basic. Thank you LCD and Boriel for your help. It's quite odd to display graphics on the Spectrum without taking care of the color clash... :wink:

https://www.dropbox.com/s/txi22502tryidv...2.tap?dl=0

Print this item

  Stop vb to open bas file
Posted by: Odie - 2017-06-09, 10:31 AM - Forum: Help & Support - Replies (7)

I am new to this

1. I have made a file Hello.bas
2. In the folder where the ZXB files are I have but the file hello.bas
3. I open cmd connad file and enter zxb.py hello.bas

Now vb. net is opening the py file, and it does noting.

How can I stop VB to open this files.

Print this item

  I wrote this for the countdown of the ZX Next Kickstarter
Posted by: emook - 2017-06-07, 08:59 PM - Forum: Gallery - Replies (2)

Music is 6 channel dual AY music, a cover of Madonna's Hung Up by Factor6.

It uses Putchars by Britlion, then everything else is written in ZXB (the vumeters are done with inline ASM)

https://www.youtube.com/watch?v=_oVgRtlZ4Cc&

Print this item

  PRINTAT64(0,0) not working on zxbasic-1.4.0s1995 (*solved*)
Posted by: Luzie - 2017-04-23, 02:11 AM - Forum: Bug Reports - Replies (16)

Hi,

i try this on zxbasic-1.4.0s1995:

Code:
PAPER 7 INK 0 BORDER 7 CLS BORDER 1 #include <print64.bas> LOP: PRINTAT64(0,0) PRINT64("Test1234") GOTO LOP
But this prints "Test1234Test1234Test1234" and so on and not just in the upper right corner?

Print this item

  sgn fails if the argument is a variable
Posted by: britlion - 2017-04-08, 05:18 PM - Forum: Bug Reports - Replies (2)

zxb version 1.4.0-s1980

Code:
dim y as uByte=1 print sgn y print sgn 2

This wont compile. sgn <number> is fine. sgn variable isn't.


Code:
Traceback (most recent call last): File "zxb.py", line 348, in <module> File "zxb.py", line 274, in main File "ast_\ast.pyc", line 34, in visit File "arch\zx48k\translator.pyc", line 340, in visit_UNARY api.errors.InvalidOperatorError: Invalid operator "SGN" Build Failed!


Definitely a regression, as it worked fine with an older compiler!

Print this item

  Help understand where things end up in memory
Posted by: emook - 2017-03-12, 06:02 PM - Forum: Help & Support - Replies (4)

Hello,

I've been using ZXBC for some projects I am doing, one of the things is that I working with very limited memory. I'm writing my code to start at 25000.

When I am doing an ASM include no matter where in the code I place it, there is still ZXBC code after.

If I place all my inlcudes at the end of my program, they still appear around 40-50 bytes in. I need to be able to tag the includes on at the end of the file, not in the middle as once I have moved them to another located they can be discarded but with ZXBC code appear AFTER the includes it means I keep running into trouble.

I know about ORG in ASM but I'd rather ZXBC obey me when I have a include as the last lines to see in memory that it also appears at the end of the code.

Any ideas?

Print this item

  some c# help
Posted by: ardentcrest - 2017-03-10, 10:46 AM - Forum: Off-Topic - No Replies

Hay Mr B.

I dont know if you can. could you take a look at the C# code here and tell me what I need to change to make the max cities so you can have more then 100

Tanks Ardentcrest

https://storage.googleapis.com/google-co...1_11_2.zip

Print this item

  [vg5000] first test
Posted by: nitrofurano - 2017-03-08, 08:28 PM - Forum: Other Archs - Replies (4)

first test for Philips/Radiola VG5000 (i still don’t know how the video processor works)
( the wiki page related to this thread is at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_VG5000#first_test">http://www.boriel.com/wiki/en/index.php ... first_test</a><!-- m --> )



Attached Files
.zip   example01f7a.zip (Size: 44.47 KB / Downloads: 1,198)
Print this item

  [ballyastrocade] first test
Posted by: nitrofurano - 2017-03-04, 12:00 PM - Forum: Other Archs - Replies (1)

first test for Bally Astrocade game console
( the wiki page related to this thread is at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_BallyAstrocade">http://www.boriel.com/wiki/en/index.php ... yAstrocade</a><!-- m --> )



Attached Files
.zip   example01d_improving.zip (Size: 21.69 KB / Downloads: 1,088)
Print this item