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




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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 277
» Latest member: Elemento26
» Forum threads: 1,087
» Forum posts: 6,490

Full Statistics

Online Users
There are currently 128 online users.
» 0 Member(s) | 126 Guest(s)
Bing, Google

Latest Threads
GuSprites
Forum: Help & Support
Last Post: zedex82
2026-06-19, 06:39 PM
» Replies: 2
» Views: 355
New video Couse / Nuevo c...
Forum: News
Last Post: Duefectu
2026-04-29, 11:02 PM
» Replies: 0
» Views: 2,700
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 745
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 1,848
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: Duefectu
2026-02-09, 01:52 PM
» Replies: 3
» Views: 1,743
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 2,539
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 1,396
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 1,479
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 820
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 1,539

 
  Compounded Let statments
Posted by: emook - 2017-02-02, 02:17 PM - Forum: ZX Basic Compiler - Replies (6)

Hello,

I've noticed that somthing that is possible is Sinclair Basic doesn't seem possible in Boriel....

eg:

Sinclair Basic

10 LET x=0
20 LET x=x+1-(50 AND x=50)
30 PRINT AT 0,0;x,
40 GOTO 20

As you can see x=x+1 will increment minus 0 unless x=50 then it will subtract 50. Great for loops and counters. In ZXB I am having to expand this into IF THEN statements.

x=0
x=x+1
myloop:
IF x=50 THEN
x=0
END IF
Print at 0,0;x,
GOTO myloop

Print this item

  [taito-minivader] Just Another Snake Game
Posted by: nitrofurano - 2017-01-15, 06:59 PM - Forum: Other Archs - No Replies

Minivaders version (the control limitation conditions to be played in a different way)
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_TaitoMinivader#Just_Another_Snake_Game">http://www.boriel.com/wiki/en/index.php ... Snake_Game</a><!-- m --> )



Attached Files
.zip   justanothersnakegame_minivaders_20170115.zip (Size: 15.17 KB / Downloads: 1,162)
Print this item

  Reading Kempston Joystick using function IN 31
Posted by: Luzie - 2017-01-08, 10:45 PM - Forum: How-To & Tutorials - Replies (4)

Hi,

I´m missing the IN function in ZX BASIC (as it was in Original Sinclair ZX Spectrum BASIC).

Would like to use it as described here:
<!-- m --><a class="postlink" href="https://chuntey.wordpress.com/2010/01/06/using-kempston-joystick-in-your-own-basic-programs/">https://chuntey.wordpress.com/2010/01/0 ... -programs/</a><!-- m -->

Must I use some machine code emulate?
If so, can someone please post me an example?

Regards,

Luzie

Print this item

  Xmas2016
Posted by: emook - 2017-01-06, 02:47 AM - Forum: Gallery - Replies (2)

Another little play around.

[Image: qyuNSW0.png]

Music Jingle Bells by EA-SOFT/ATS'97



Attached Files
.zip   xmas-emook.zip (Size: 5.61 KB / Downloads: 1,213)
Print this item

  compiler error (unicode argument expected)
Posted by: slenkar - 2017-01-02, 02:29 AM - Forum: Bug Reports - No Replies

Traceback (most recent call last):
File "/root/Downloads/zxbasic/zxb.py", line 348, in <module>
sys.exit(main(sys.argv)) # Exit
File "/root/Downloads/zxbasic/zxb.py", line 339, in main
output(asm_output, fout)
File "/root/Downloads/zxbasic/zxb.py", line 72, in output
ofile.write('\t')
TypeError: unicode argument expected, got 'str'

EDIT- oh it was because I needed 1.3.0

I was using 1.2.9 so problem solved!

Print this item

  [successfujiwara-superothello] first test
Posted by: nitrofurano - 2016-12-30, 11:14 PM - Forum: Other Archs - No Replies

first test for the Success/Fujiwara’s Super Othello arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_SuccessFujiwaraSuperOthello">http://www.boriel.com/wiki/en/index.php ... perOthello</a><!-- m --> )



Attached Files
.zip   example01b_improving.zip (Size: 43.36 KB / Downloads: 1,127)
Print this item

  [ballymidwayzilec-blueprint] first test
Posted by: nitrofurano - 2016-12-29, 06:54 PM - Forum: Other Archs - No Replies

first test for the Bally/Midway/Zilec’s Blue Print arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_BallyMidwayZilecBluePrint">http://www.boriel.com/wiki/en/index.php ... cBluePrint</a><!-- m --> )



Attached Files
.zip   example01c_improving.zip (Size: 27.4 KB / Downloads: 1,196)
Print this item

  [wonwoo-dominoblock] first test
Posted by: nitrofurano - 2016-12-29, 06:52 PM - Forum: Other Archs - No Replies

first test for the Wonwoo’s Domino Block arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_WonwooDominoBlock">http://www.boriel.com/wiki/en/index.php ... ominoBlock</a><!-- m --> )



Attached Files
.zip   example01f_improving.zip (Size: 29.48 KB / Downloads: 1,155)
Print this item

  [universal-cheekymouse] first test
Posted by: nitrofurano - 2016-12-29, 06:49 PM - Forum: Other Archs - No Replies

first test for the Universal’s Cheeky Mouse arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_UniversalCheekyMouse">http://www.boriel.com/wiki/en/index.php ... heekyMouse</a><!-- m --> )



Attached Files
.zip   example01e_improve.zip (Size: 22.08 KB / Downloads: 1,160)
Print this item

  [setakikaku-hanaawase] first test
Posted by: nitrofurano - 2016-12-29, 06:46 PM - Forum: Other Archs - No Replies

first test for the Seta Kikaku’s Hana Awase arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_SetaKikakuHanaAwase">http://www.boriel.com/wiki/en/index.php ... uHanaAwase</a><!-- m --> )



Attached Files
.zip   example01c_improving.zip (Size: 20.41 KB / Downloads: 1,174)
Print this item