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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 273
» Latest member: mindlin
» Forum threads: 1,085
» Forum posts: 6,486

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 51 Guest(s)
Applebot, Baidu, Bing

Latest Threads
location of heap manageme...
Forum: Help & Support
Last Post: boriel
2026-03-07, 12:13 AM
» Replies: 1
» Views: 216
non-paged supervisor code...
Forum: Help & Support
Last Post: sdo303
2026-02-20, 06:38 PM
» Replies: 8
» Views: 692
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: Duefectu
2026-02-09, 01:52 PM
» Replies: 3
» Views: 1,067
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 1,677
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 812
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 933
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 475
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 945
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 1,108
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 838

 
  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: 1164)
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: 1081)
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: 1150)
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: 1107)
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: 1115)
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: 1128)
Print this item

  [summitcoin-pushover] first test
Posted by: nitrofurano - 2016-12-29, 06:44 PM - Forum: Other Archs - No Replies

first test for the Summit Coin’s Push Over arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_SummitCoinPushOver">http://www.boriel.com/wiki/en/index.php ... inPushOver</a><!-- m --> )



Attached Files
.zip   example01c_improve.zip (Size: 24.92 KB / Downloads: 1063)
Print this item

  [seibukaihatsu-wiz] first test
Posted by: nitrofurano - 2016-12-28, 01:38 PM - Forum: Other Archs - No Replies

first test for the Seibu Kaihatsu’s Wiz arcade machine
( <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Released_Programs_-_SeibuKaihatsuWiz">http://www.boriel.com/wiki/en/index.php ... aihatsuWiz</a><!-- m --> )



Attached Files
.zip   example01c_improving.zip (Size: 40.98 KB / Downloads: 1097)
Print this item