Hello
Is there a way to create big REM statements on the ZX81 without doing it manually or using cross compilation to create .p files. I have thought about using a technique of simulating key presses by hacking an emulator source, or maybe it's possible to do this within the ZX81.
Regards,
Thunor
Creating big REM statements
Re: Creating big REM statements
Hi Thunor
There are a lot of ways to do what you need, here are two:
1) You can create REM lines with any number of chars using the BASIC Tools that are included in the VB81_XUR Emulator.
2) But if you prefer do it directly on the Sinclair you can use a little program like the one I attaching on this post. The program will ask(*) you the number of bytes that you need on the REM line, the will change the line 16 in order to make it as big as you need. Then you can delete the other all the lines and change eventually the line number of the REM line.
(*) "NUMERO DE BYTES A INSERTAR?" means "NUMBER OF BYTES TO INSERT"
Gus
There are a lot of ways to do what you need, here are two:
1) You can create REM lines with any number of chars using the BASIC Tools that are included in the VB81_XUR Emulator.
2) But if you prefer do it directly on the Sinclair you can use a little program like the one I attaching on this post. The program will ask(*) you the number of bytes that you need on the REM line, the will change the line 16 in order to make it as big as you need. Then you can delete the other all the lines and change eventually the line number of the REM line.
(*) "NUMERO DE BYTES A INSERTAR?" means "NUMBER OF BYTES TO INSERT"
Gus
Re: Creating big REM statements
Thanks Gus
I would like to achieve this on the ZX81 but I can't see your attachment.
Cheers,
Thunor
I would like to achieve this on the ZX81 but I can't see your attachment.
Cheers,
Thunor
Re: Creating big REM statements
The TK85, a brazilian clone, has this feature and you can try it on EightyOne emulator.
For example, to create a REM line with 480 dots type:
1 REM ..
POKE 16514,224
POKE 16515,1
RAND USR 8192
LIST
This will create a REM line number 2 with 480 dots
For example, to create a REM line with 480 dots type:
1 REM ..
POKE 16514,224
POKE 16515,1
RAND USR 8192
LIST
This will create a REM line number 2 with 480 dots
1 x ZX81, 2 x TK85 , 1 TK82C, 1 TK95, 1 x Alphacom 32 printer, 1 x ZXpand
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/
Re: Creating big REM statements
Hi kmurta
I am assuming that you are attempting to POKE the length of the first BASIC line which then would be 16511 and 12.
8192 or 2000h on a ZX81 looks to me like the start of the ROM mirrored.
That doesn't work for me. Thanks anyway
I am assuming that you are attempting to POKE the length of the first BASIC line which then would be 16511 and 12.
8192 or 2000h on a ZX81 looks to me like the start of the ROM mirrored.
That doesn't work for me. Thanks anyway
Re: Creating big REM statements
And you are right !!! because I forgot to do the attachmentThunor wrote:Thanks Gus
I would like to achieve this on the ZX81 but I can't see your attachment.
Anyway here is it
cheers,
Gus
- Attachments
-
- rem.rar
- REM line creator :)
- (412 Bytes) Downloaded 282 times
Re: Creating big REM statements
That's excellent; just what I need.
Muchas gracias,
Thunor
Muchas gracias,
Thunor
Re: Creating big REM statements
This trick is for TK85 only that has a extended 2Kb ROM at 8192 and is emulated by EO.I am assuming that you are attempting to POKE the length of the first BASIC line which then would be 16511 and 12.
8192 or 2000h on a ZX81 looks to me like the start of the ROM mirrored.
The length of line to be created will be poked at address 16514/15 and the routine will create a second REM line with that length.
Only for you information.
1 x ZX81, 2 x TK85 , 1 TK82C, 1 TK95, 1 x Alphacom 32 printer, 1 x ZXpand
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/