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




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 98 online users.
» 1 Member(s) | 97 Guest(s)
boriel

Latest Threads
New video Couse / Nuevo c...
Forum: News
Last Post: Duefectu
2026-04-29, 11:02 PM
» Replies: 0
» Views: 210
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 483
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 1,295
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,075
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,178
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

 
  How to manage part of a STRING?
Posted by: LukeBord1 - 2018-01-09, 12:29 AM - Forum: How-To & Tutorials - Replies (4)

In standard Basic, we have this example correctly working:

Code:
10 LET a$="123456789012345678901234567890xy" 20 PRINT AT 0,0; a$ 30 IF INKEY$="0" THEN LET a$=a$(32) + a$(1 TO 31) 40 GOTO 20

...but it doesn't seem to work in ZXB:

Code:
DIM test AS STRING test="123456789012345678901234567890xy" mainloop: PRINT AT 0,0; test IF INKEY="0" THEN test=test(32) + test(1 TO 31) END IF GOTO mainloop

Thoughts?

Print this item

  John Mocowell
Posted by: alboran70 - 2018-01-08, 09:12 PM - Forum: Gallery - Replies (3)

Hola,
os presentamos (Lord Raptor a los gráficos y un servidor a los textos y código) una aventura gráfica del tipo "Elige tu propia Aventura".
Puede servir como ayuda para entender el uso de las rutinas ZX7 (compresión) y FZX (tipografía) del gran Einar Saukas, desde el compilador del no menos genial Boriel. :wink:


.zip   JohnMocowell-Boriel-FZX-ZX7.zip (Size: 170.81 KB / Downloads: 1,153)

.jpg   JohnMocowell-1.jpg (Size: 20.78 KB / Downloads: 3,508)


.jpg   JohnMocowell.jpg (Size: 125.98 KB / Downloads: 3,457)

Print this item

  Compiling with --enable-break behaves different (*solved*)
Posted by: Luzie - 2018-01-05, 03:31 PM - Forum: Bug Reports - Replies (4)

When I´m compiling this sample.bas from Einar Saukas

Download/Info at: https://spectrumcomputing.co.uk/index.ph...6&id=30005
Downloads:
JOY_SourceCode.zip (containing joy.asm) and:
JOY_BorielZXBasicLibrary.zip (containing sample.bas and joy.bas)

with --enable-break the program behaves different to compiling without --enable-break

I´m tested on ZXB v1.7.1 (Windows) as Download-Page for v1.8.0 seems to be not accessible at the moment of writing) and SpecEmu-Emulator.

Screenshot without --enable-break (Please scroll down over Picture to see complete screen)

.png   2018-01-05 15-33-23_SpecEmu.png (Size: 11.18 KB / Downloads: 5,583)

Screenshot with --enable-break (Please scroll down over Picture to see complete screen)

.png   2018-01-05 15-34-21_SpecEmu.png (Size: 10.33 KB / Downloads: 5,577)

Print this item

  Cansino Pac
Posted by: alboran70 - 2017-11-24, 04:44 PM - Forum: Gallery - Replies (2)

Hola,

un jueguecillo hecho con este fantastico compilador


.zip   CansinoPac-source.zip (Size: 56.29 KB / Downloads: 1,135)


.zip   CansinoPac-game.zip (Size: 18.72 KB / Downloads: 1,096)

.jpg   CansinoPac-b.jpg (Size: 104.54 KB / Downloads: 2,522)

saludos

Print this item

  RANDOMIZE USR issue
Posted by: LukeBord1 - 2017-11-23, 09:16 PM - Forum: Help & Support - Replies (15)

I'm trying to compile a short menu program including a RANDOMIZE USR command which calls an external assembly routine (tested).

Using both the latest ZXB v.1.7.2 and the previous v.1.6.12, the compiled program freezes. Recompiling it without the RANDOMIZE USR command, all goes ok!
Even trying to change the memory addresses, it seems the problem persists between the RANDOMIZE USR instruction and something inside the code...

Code:
DIM y,a,i AS UBYTE y=10: a=0: i=1 10 BORDER 0: PAPER 0: INK 0: CLS: POKE 32005,0 RANDOMIZE USR (address of the external tested routine) 20 PRINT AT y,11; BRIGHT 1; OVER 1; INK i;" " IF a < 10 THEN a=a+1 ELSE a=0 END IF IF a=10 THEN IF i < 7 THEN i=i+1 ELSE i=1 END IF: END IF IF (INKEY="1" AND y <> 10) THEN GOSUB 70: y=10: POKE 32005,0: END IF IF (INKEY="2" AND y <> 11) THEN GOSUB 70: y=11: POKE 32005,1: END IF IF INKEY="3" THEN BEEP .04,50: RANDOMIZE USR (game start address): GO TO 10: END IF GO TO 20 70 PRINT AT y,11; BRIGHT 0; OVER 1; INK 7;" ": BEEP .04,50: RETURN

Thoughts?

Print this item

  Question about the ORG value
Posted by: LukeBord1 - 2017-11-18, 05:37 PM - Forum: How-To & Tutorials - Replies (3)

Maybe the question could result dumb to Assembly experts; however, is there a way to make an ORiGin memory address flexible? Saying it more clearly, even setting an ORG value in the ZXB commandline, is there a way to import the code into a new memory address?

Print this item

  [enterprise] first test
Posted by: nitrofurano - 2017-11-04, 02:28 PM - Forum: Other Archs - Replies (3)

first test for enterprise 64/128, using attr display mode
(as shown at <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_Enterprise#test01_attrdisplaymode">http://www.boriel.com/wiki/en/index.php ... isplaymode</a><!-- m --> )



Attached Files
.zip   example01r5_improving.zip (Size: 27.89 KB / Downloads: 1,117)
Print this item

  [zilec-enigma2] first test
Posted by: nitrofurano - 2017-10-18, 05:11 PM - Forum: Other Archs - No Replies

first test for the Zilec’s Enigma II arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_ZilecEnigma2">http://www.boriel.com/wiki/en/index.php ... lecEnigma2</a><!-- m --> )



Attached Files
.zip   example01e_improving.zip (Size: 23.01 KB / Downloads: 1,079)
Print this item

  [pal-chance32] first test
Posted by: nitrofurano - 2017-10-18, 05:08 PM - Forum: Other Archs - No Replies

first test for the PAL’s Chance Thirty Two arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_PalChance32">http://www.boriel.com/wiki/en/index.php ... alChance32</a><!-- m --> )



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

  [sanremo-numberone] first test
Posted by: nitrofurano - 2017-10-12, 05:47 PM - Forum: Other Archs - No Replies

first test for San Remo’s Number One arcade machine:
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_SanremoNumberOne">http://www.boriel.com/wiki/en/index.php ... oNumberOne</a><!-- m --> )



Attached Files
.zip   example01e_improving.zip (Size: 30.46 KB / Downloads: 1,098)
Print this item