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
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 147 online users.
» 0 Member(s) | 146 Guest(s)
Bing

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,698
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,742
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
2025-11-09, 11:52 AM
» Replies: 7
» Views: 2,538
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 1,395
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: 819
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 1,539

 
  Ad Lunam Plus
Posted by: Alessandro - 2020-07-09, 04:35 PM - Forum: Gallery - Replies (3)

Ad Lunam was a proof of concept, designed to fit into the humble 48K. Here is its big brother, Ad Lunam Plus.

[Image: alp01.png]

The game is now a 128K exclusive - although I have, as for several of my other titles, considered to make a TR-DOS version which can be run on the 48K with a DivIDE/DivMMC. and ESXDOS - and features graphics for many of its sections and AY sound for national anthems and end-of-game congratulations.

[Image: alp02.png]
Will you impersonate Von Braun or Korolev?

[Image: alp04.png]
The main menu

There are other tweakings and enhancements, for instance "pilots" are now aptly called "astronauts" and "cosmonauts" and you can even see their faces when selecting them for training.

[Image: alp07.png]
Choose an ability to train John Glenn in

In the R&D section, you are now able to see pictures of what you are actually researching.

[Image: alp05.png]
Soviet research and development main menu

[Image: alp06.png]
American rockets

Facilities (previously called "structures") can also be seen now, even when they are under construction/repair.

[Image: alp10.png]
The advanced training facility is being built, while launch pad 1 hosts a rocket for a planned mission

You can now follow missions from the control room.

[Image: alp08.png]
Engines started, lift off

End-of-turn messages and communications will be shown as papers on a desktop.

[Image: alp09.png]
The president is pleased with our work

The game is currently at version 1.0 and like its predecessor is available in Italian, English and Spanish. Please report any feedback about possible bugs/strange behavior/typos etc. here or to my email address (shown in the manual).

Enjoy!

Download

Print this item

  Python warning about unused parameter
Posted by: mauvedeity - 2020-07-06, 02:59 PM - Forum: Bug Reports - Replies (1)

Hi,

When compiling programs, using zxbc.py 1.11.1, I get a python warning message:

Code:
/Users/mauvedeity/bin/zxbasic/library/print64.bas:20: warning: Parameter 'characters' is never used
I appreciate this is just a warning, but is there something that we can do about this? Many thanks.

Print this item

  Geany support
Posted by: britlion - 2020-06-17, 08:28 PM - Forum: Wishlist - Replies (1)

Not to diss Boride in any way, because it's awesome, but I use Geany already for other things, and was wondering if anyone had given thought to adding a zxb plugin?

Never made one, so it could be trivial, or a pain!

Print this item

Bug Python Errors when compiling (*solved*)
Posted by: mauvedeity - 2020-05-24, 07:31 PM - Forum: Bug Reports - Replies (3)

I'm using Boriel 1.9.8 (I think) on MacOS 10.15.4 with Python3 (version 3.7.7, installed via HomeBrew). I'm invoking Boriel thusly:

Code:
python3 ~/bin/zxbasic/zxb.py bugreport1.bas --tzx --BASIC --autorun
However, each time I try to compile, I get a bunch of Python diagnostics:
Quote:/Users/mauvedeity/bin/zxbasic/ply/lex.py:760: FutureWarning: Possible nested set at position 10
  c = re.compile('(?P<%s>%s)' % (fname, _get_regex(f)), self.reflags)
/Users/mauvedeity/bin/zxbasic/ply/lex.py:498: FutureWarning: Possible nested set at position 274
  lexre = re.compile(regex, reflags)

I still get the TZX file I asked for, but I'm wondering what I'm doing wrong here.
I've since found that I get these errors even if I invoke Boriel without any arguments.
Any suggestions? Any more information I can provide?

Print this item

  Help with scroll.bas library
Posted by: Andy1966uk - 2020-04-08, 08:50 AM - Forum: Help & Support - Replies (3)

Team,

When I use the library, the screen scrolls, however the colour of the objects bleeds to the background colour.
Is there a fix for this and also the x,y,x1,y1 cordinates of the scroll window don't seem correct.

Thanks for looking into this as I am desperate for a scroll function. thx

Print this item

  Pass an Array to a Sub
Posted by: XoRRoX - 2020-04-02, 10:30 AM - Forum: ZX Basic Compiler - Replies (4)

Hello all,

I'm pretty new to ZX Basic so please forgive my possible beginner questions.

I'd like to pass an Array to a Sub but cannot seem to figure out how.


Code:
dim SortArray(10) as string SUB SelectionSort (SortArray) 'Compile Error: Syntax Error. Unexpected token 'SortArray' <ARRAY_ID> {Code} END sub '************************ Main **************************** Let SortArray(0) = "Line 00" Let SortArray(1) = "Line 02" Let SortArray(2) = "Line 08" Let SortArray(3) = "Line 06" Let SortArray(4) = "Line 01" Let SortArray(5) = "Line 03" Let SortArray(6) = "Line 07" Let SortArray(7) = "Line 04" Let SortArray(8) = "Line 05" SelectionSort(SortArray) ' Compile Error: Variable 'SortArray' is an array and cannot be used in this context

Thanks in advance for any insights Smile

Print this item

  Wiki down
Posted by: LCD - 2020-03-05, 05:13 PM - Forum: How-To & Tutorials - Replies (2)

Hallo Jose. When I try to go to the ZXBC Wiki from your site, it is down. Any chance to bring it up again? I want to finish the help in BorIDE. are there new commands? added? (hint: like SWITCH/CASE)?

Print this item

  spectrum next compatibility
Posted by: ardentcrest - 2020-03-01, 02:56 AM - Forum: Wishlist - Replies (10)

Will we see Zx basic compiler compatible with the next????

Print this item

  Error while compiling little program (*solved*)
Posted by: maeloterkim - 2020-02-24, 09:15 PM - Forum: Bug Reports - Replies (2)

Hi  Smile 
This little program should work or am I missing something?

If I compile it gives error

Code:
'Begin program const A as ubyte = 65 const a as ubyte = 97 print chr$ (A) print chr$ (a) 'End program

i tried to compile with 1.9.9 version and 1.9.8 version and both have errors while compiling

Print this item

  Bug report with print64 routine
Posted by: maeloterkim - 2020-02-08, 08:29 PM - Forum: Bug Reports - Replies (1)

Hi  Smile 

I tried the print64 routine but has a bug 

If you try this program in red

#include <print64.bas>

'printat64(10,10)  'This will not work because de poke is incorrect You can try
print64("Hello world!")

print at 15,0;"@p64coords "; @p64coords
;


and then you look at the dissasembly attached image

where after the RET with red color in the image, is supposed that is the @p64coords address (when you run the program writes the @p64coords address to check where is)


in this @p64coords address is where is supposed to poke de X and Y values of the new coordinates with the printat64 routine that is included in print64.bas

but the coordinates are in the green lines addresses with the value 12 and 0 

you can check this if you look at the same time at the image with colors ( or your own dissasembly) and the print64.bas file

There is some bytes in between that are moving down the useful poke for the coodinates that  printat64 routine does


ANOTHER THING
----------------------------------


This bug was found because i was trying to change the print64 font to another one

I did this subroutine for this

' Changes character set of the print64 routine
' this does a poke where is the assembly instruction :      ld de, p64_charset
SUB change64Charset (new64CharSet as uinteger)

       poke uinteger ( @p64coords - 123 ), new64CharSet

END sub


Maybe you can solve the bug AND  at the same time include this subroutine in the print64.bas file

this way the people can change the print64 x,y  and the character set of the print64

i named the subroutine change64Charset but you change the name accordly to the print64 routine

i don't know for example  print64ChangeCharset or something

you can only must be sure that the poke is always made in the correct positions for both routines

i don't know if is posible to include some constant label inside the routine that makes some positions of memory fixed to be poked

Now we must calculate by hand until fixed someway, where are the addresses to poke

if you try this subroutine adding 7 to the original subroutine it works Smile 

SUB newPrintat64 (y as uByte, x as uByte)
    POKE @p64coords+7,x
    POKE @p64coords+8,y
END sub





Print this item