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: 274
» Latest member: zxspecticle
» Forum threads: 1,086
» Forum posts: 6,487

Full Statistics

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

Latest Threads
New video Couse / Nuevo c...
Forum: News
Last Post: Duefectu
2026-04-29, 11:02 PM
» Replies: 0
» Views: 215
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 487
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 1,302
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: Duefectu
2026-02-09, 01:52 PM
» Replies: 3
» Views: 1,392
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 2,080
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 1,082
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 1,181
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,221
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 1,383

 
  [konami-timepilot] first test
Posted by: nitrofurano - 2014-10-26, 08:04 PM - Forum: Other Archs - No Replies

first test for the Konami-TimePilot arcade machine



Attached Files
.zip   example01d_working.zip (Size: 152.44 KB / Downloads: 1,032)
Print this item

  [poby-news] first test
Posted by: nitrofurano - 2014-10-23, 01:19 PM - Forum: Other Archs - No Replies

first test for Poby-News arcade machine:
<!-- m --><a class="postlink" href="https://dl.dropboxusercontent.com/u/795795/retrocoding/arcade/PobyNews/example01c_works.zip">https://dl.dropboxusercontent.com/u/795 ... _works.zip</a><!-- m -->

Print this item

  [scramble] first test
Posted by: nitrofurano - 2014-10-23, 11:02 AM - Forum: Other Archs - No Replies

first test for Scramble hardware (Triple Punch machine configuration)



Attached Files
.zip   example01d_working.zip (Size: 137.31 KB / Downloads: 1,071)
Print this item

  Optimizer bug (*solved*)
Posted by: einar - 2014-10-17, 08:50 PM - Forum: Bug Reports - Replies (2)

I found an error in ZX BASIC optimizer. Take a look at this test program:

Code:
GO TO 10 sub FASTCALL test(flag AS UBYTE) asm cp 1 jp m,45000 jp 50000 end asm end sub 10 POKE 50000,201: POKE 45000,201 test(1)

This program produces the expected result if you compile it as follows:

Code:
zxb.exe -t -O2 prog.bas

However it will refuse to compile if you use this instead:

Code:
zxb.exe -t -O3 prog.bas

In this latter case it will produce this error message:

Code:
C:>zxb.exe -t -O3 prog.bas Traceback (most recent call last): File "zxb.py", line 348, in <module> File "zxb.py", line 301, in main File "optimizer.pyc", line 2287, in optimize File "optimizer.pyc", line 1493, in update_goes_and_comes KeyError: '45000'

EDIT: Tested using latest ZX BASIC version 1.4.0s1898.

Print this item

  [konami-pingpong] first test
Posted by: nitrofurano - 2014-10-16, 07:07 PM - Forum: Other Archs - Replies (1)

first test for the Konami-PingPong arcade machine



Attached Files
.zip   example01c_working.zip (Size: 129 KB / Downloads: 1,001)
Print this item

  [tehkan-pinballaction] first test
Posted by: nitrofurano - 2014-10-13, 02:21 PM - Forum: Other Archs - Replies (1)

still a lot to improve (sprites, colours, playfields, etc.), but it seems working fine for now - soon i hope posting updates here! Smile



Attached Files
.zip   example01b_startingtowork.zip (Size: 115.97 KB / Downloads: 1,118)
Print this item

  [taito-minivader] first test
Posted by: nitrofurano - 2014-10-12, 06:45 PM - Forum: Other Archs - Replies (1)

an extremely simple arcade machine, b&w and no sound! Smile - soon i'll code some games for it! Smile
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_TehkanPinballAction#Just_Another_Snake_Game">http://www.boriel.com/wiki/en/index.php ... Snake_Game</a><!-- m --> )



Attached Files
.zip   example01a_working.zip (Size: 99.63 KB / Downloads: 1,028)
Print this item

  [irem-m52] first experience
Posted by: nitrofurano - 2014-10-11, 01:02 PM - Forum: Other Archs - Replies (1)

now i'm starting Irem-M52 hardware (Moon Patrol arcade machine configuration)



Attached Files
.zip   example01e_working.zip (Size: 142.89 KB / Downloads: 1,075)
Print this item

  [irem-m62] first experience
Posted by: nitrofurano - 2014-10-08, 03:59 PM - Forum: Other Archs - Replies (2)

after successfully doing something for PacMan arcade machine, i started something for irem-m68 (Lode Runner arcade machine configuration for now) - i'm still about reading the joystick, and find out better how sprites works, but it seems interesting doing experiments on this one
( 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_-_IremM62">http://www.boriel.com/wiki/en/index.php ... _-_IremM62</a><!-- m --> )



Attached Files
.zip   example01e_startingtowork.zip (Size: 134.03 KB / Downloads: 1,046)
Print this item

  Serious bug indexing arrays (*solved*)
Posted by: einar - 2014-09-29, 04:48 AM - Forum: Bug Reports - Replies (4)

Try running this program:

Code:
DIM score(1 TO 2) AS UBYTE DIM player AS UBYTE LET score(1)=0 LET score(2)=0 LET player = 1 LET score(player)=score(player)+1 PRINT "SCORE ";score(1);"x";score(2)

The result will be "SCORE 0x1". This code was supposed to increment the score for player 1, but it will increment it for player 2 instead!

Now try changing this program as follows:

Code:
DIM score(1 TO 2) AS UBYTE DIM player AS UBYTE LET score(1)=0 LET score(2)=0 LET player = 1 LET score(1)=score(1)+1 PRINT "SCORE ";score(1);"x";score(2)

Now it will give the correct result "SCORE 1x0".

Tested using latest ZX BASIC release 1.4.0s1893.

Print this item