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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 246
» Latest member: hpprinter12
» Forum threads: 882
» Forum posts: 6,031

Full Statistics

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

Latest Threads
nfxhalehhsny
Forum: Off-Topic
Last Post: ixbmfeyj
7 hours ago
» Replies: 0
» Views: 1
WindowScrollUp (x1, y1, x...
Forum: Wishlist
Last Post: boriel
07-31-2020, 10:53 PM
» Replies: 3
» Views: 123
Ad Lunam Plus
Forum: Gallery
Last Post: Alessandro
07-25-2020, 02:24 PM
» Replies: 3
» Views: 193
Ad Lunam
Forum: Gallery
Last Post: Alessandro
07-25-2020, 02:24 PM
» Replies: 10
» Views: 2,201
Compiling errors
Forum: Help & Support
Last Post: Jodo
07-19-2020, 06:35 PM
» Replies: 10
» Views: 347
Compiling pure Sinclair B...
Forum: ZX Basic Compiler
Last Post: Jodo
07-11-2020, 07:15 PM
» Replies: 3
» Views: 216
Maximal size for a compil...
Forum: Bug Reports
Last Post: Week of the agents
07-09-2020, 08:51 PM
» Replies: 15
» Views: 3,152
Python warning about unus...
Forum: Bug Reports
Last Post: mauvedeity
07-06-2020, 01:59 PM
» Replies: 0
» Views: 84
spectrum next compatibili...
Forum: Wishlist
Last Post: Ljg701
06-30-2020, 10:04 AM
» Replies: 10
» Views: 1,494
Geany support
Forum: Wishlist
Last Post: boriel
06-18-2020, 11:07 PM
» Replies: 1
» Views: 169

 
  nfxhalehhsny
Posted by: ixbmfeyj - 7 hours ago - Forum: Off-Topic - No Replies

buy cialis online cheap <a href=https://cialisko.com/>cialis walmart</a> buy cialis online in usa

Print this item

  WindowScrollUp (x1, y1, x2, y2, num_chars)
Posted by: .fito. - 07-17-2020, 10:41 PM - Forum: Wishlist - Replies (3)

hola compañero.

primero decirte que tu herramienta zxb es una maravilla y le está dando una nueva vida al spectrum.

He estado practicando con las funciones scrollup, scrolldown, ...left, right de pixel a pixel y son una maravilla.

Sé que tienes otras prioridades, tal como dijiste en otro hilo, pero yo te pediría implementar un windowscroll que desplaze al menos un cuadro (x1,y1,x2,y2) en las 4 direcciones, con atributos incluidos. Estoy con un juego que requiere scroll y me ayudaría muchísimo a tener un scroll en buenas condiciones y estoy seguro de que muchas personas lo están esperando para sus creaciones. Imagino que otras personas apoyarán mi petición.

mil gracias.


Dejo por aquí una traducción de andar por casa por respeto a todo el mundo:

Hello mate.

first tell you that your zxb tool is a wonder and it is giving a new life to the spectrum (and what I am is / was from amstrad).I know you have other priorities, as you said in another thread, but I would ask you to implement a windowscroll that moves at least one box (x1, y1, x2, y2) in all 4 directions, with attributes included? I am with a scroll type game and it would help me a lot to have a scroll in good condition and I am sure that many people are waiting for it. I imagine other people will support my request.

thank you.

Print this item

  Compiling errors
Posted by: Jodo - 07-13-2020, 02:14 PM - Forum: Help & Support - Replies (10)

Hi,

I'm trying to compile a game written wholly in Sinclair BASIC and am having trouble with this line:

10 GOTO INT (RND*4)*6+1380


It works as expected when run as Basic but the compiler gives: 'Syntax Error. Unexpected token 'INT' <INT>'

If I rewrite it to:

10 LET a=INT (RND*4)*6+1380: GOTO a

this also works fine when run as Basic but the compiler gives: 'identifier 'a' is a var, not a label'

Is there another way I could write it that would compile?

Thanks.

Print this item

  Compiling pure Sinclair Basic
Posted by: Jodo - 07-10-2020, 12:36 PM - Forum: ZX Basic Compiler - Replies (3)

Hi,
As per the subject, I'm trying to compile pure Sinclair Basic but am getting the following errors which I can't find anything about.

bwall.bas:4: Error: invalid directive #Run
bwall.bas:4: Error: illegal preprocessor character '-'

bwall.bas:68: Error: invalid directive #End
bwall.bas:68: Error: illegal preprocessor character '-'

I used this command: 'zxb bwall.bas --tzx --BASIC --autorun --sinclair --explicit' to compile
but have also tried without '--sinclair' and '--explicit' with the same results.

If anybody has any ideas I would be really appreciative. Thanks.

Print this item

  Ad Lunam Plus
Posted by: Alessandro - 07-09-2020, 03: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 - 07-06-2020, 01:59 PM - Forum: Bug Reports - No Replies

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 - 06-17-2020, 07: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
Posted by: mauvedeity - 05-24-2020, 06: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 - 04-08-2020, 07:50 AM - Forum: Help & Support - Replies (2)

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 - 04-02-2020, 09:30 AM - Forum: ZX Basic Compiler - Replies (3)

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