New release of EightyOne available
Re: New release of EightyOne available
There were some versions of ZX81 with 64K.
I have a program for ZX81 64K but it doesn't work directly on EightyOne 1.4 because in this emulator the RAMTOP doesn't exceed 16K RAM even when we choose the 32K or 48K option.
So I have to do:
POKE 16389,255
NEW
LOAD ""
I wish EightyOne would change RAMTOP to 32K RAM and 64K RAM.
I have a program for ZX81 64K but it doesn't work directly on EightyOne 1.4 because in this emulator the RAMTOP doesn't exceed 16K RAM even when we choose the 32K or 48K option.
So I have to do:
POKE 16389,255
NEW
LOAD ""
I wish EightyOne would change RAMTOP to 32K RAM and 64K RAM.
Last edited by zarsoft on Thu Oct 10, 2024 9:43 am, edited 2 times in total.
Re: New release of EightyOne available
NO
Eightyone does what it should do.
It perfectly emulates the ZX81 and it add-ons.
Also your post is very aggressive.
If you don't know how the ZX81 works a question like
"How can I get 64K working on EO"
Or
"Why do I have to enter .... to get 64K working"
would be advisable.
In theory, there is no difference between theory and practice. But, in practice, there is.
- 1024MAK
- Posts: 5527
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
- Contact:
Re: New release of EightyOne available
In EightyOne you need to do exactly the same as you do with real hardware.
For example, here is an extract from the Memotech Memopak 64k Manual:
It’s the design of the code in the ZX81 BASIC ROM that sets the maximum RAM that BASIC recognises. Sinclair at the time of the design of the ZX81 presumably did not expect users to have more than 16K bytes of RAM. Because at that time RAM was very expensive (the price fell dramatically later on). The ROM code was designed to work with Sinclair’s 16K RAM pack as well as any memory amount from 1K to 16K.
Note that it’s only BASIC that takes any notice of the RAMTOP system variable. Machine code programs normally ignore this.
And BASIC’s PEEK and POKE are also unaffected by the value of RAMTOP. They can access any address in memory.
If you have a permanent set up with more than 16K, it is possible to use a custom ROM where the appropriate value in the ROM has been changed so that BASIC sets RAMTOP at the top of available RAM rather than up to 16K.
Mark
For example, here is an extract from the Memotech Memopak 64k Manual:
The full manual is available here.Memotech Memopak 64k Manual wrote:On powering up a small K will appear in the bottom left hand corner of the screen. This means that your system is ready to go, but the computer is expecting to use only a maximum of 16K. So you'll probably want to tell the computer that more memory is present. On the other hand you do not have to use all available memory. (See Chapter 26 of the ZX81 handbook).
There are two memory locations which you change in order to tell the computer the upper limit of your memory (or RAMTOP If you're into the jargon) These are 16389 and 16388. To set top of RAM at 64K type the following:
POKE 16388,255 (this is not usually needed)
POKE 16389,255 (this is usually set at 128 for a 32K limit)
NEW (the memory is now cleared to start afresh and will now be organised to the new limit)
To check the current top of RAM type:
PRINT PEEK 16389
and the value will appear in the top left-hand corner of the screen.
It’s the design of the code in the ZX81 BASIC ROM that sets the maximum RAM that BASIC recognises. Sinclair at the time of the design of the ZX81 presumably did not expect users to have more than 16K bytes of RAM. Because at that time RAM was very expensive (the price fell dramatically later on). The ROM code was designed to work with Sinclair’s 16K RAM pack as well as any memory amount from 1K to 16K.
Note that it’s only BASIC that takes any notice of the RAMTOP system variable. Machine code programs normally ignore this.
And BASIC’s PEEK and POKE are also unaffected by the value of RAMTOP. They can access any address in memory.
If you have a permanent set up with more than 16K, it is possible to use a custom ROM where the appropriate value in the ROM has been changed so that BASIC sets RAMTOP at the top of available RAM rather than up to 16K.
Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp
Standby alert 
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Spring approaching...
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp


There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb

Spring approaching...
Re: New release of EightyOne available
Perfectly emulates!?Paul wrote: ↑Thu Oct 10, 2024 7:47 amNO
Eightyone does what it should do.
It perfectly emulates the ZX81 and it add-ons.
Also your post is very aggressive.
If you don't know how the ZX81 works a question like
"How can I get 64K working on EO"
Or
"Why do I have to enter .... to get 64K working"
would be advisable.

Also Paul although the post has been edited I don't sense any aggression and suspect it's more of a language thing as English may not be the posters first language.
???????????????????????????PIINKEY$?????RND????????????????????????????????????????????????????????PI????????
Re: New release of EightyOne available
And I didn't quote that part so it was possible to edit the post the way it was.
We had private messages exchanged.
Everything is fine now.
We had private messages exchanged.
Everything is fine now.
In theory, there is no difference between theory and practice. But, in practice, there is.
-
- Posts: 2
- Joined: Mon Jun 30, 2014 11:46 am
Re: New release of EightyOne available
Hi. I'm new to this forum. I have been using/buiding EightyOne for many, many years now and I've been wondering why joysticks have never been implemented? There is a greyed out 'Joystick...' item in the Options menu. Thank you.
Re: New release of EightyOne available
Welcome to the forum
It is true that the joystick menu item does not have a dialog box associated with it, however, I think there is some support for a USB joystick within EightyOne.
If you:
a) plug in a USB joystick
b) enable zxpand+ in the hardware options
c) load a program that reads from the zxpand+ joystick port
then the joystick should work.
I've just tried this with the updated ZXGLX.P downloaded from https://www.sinclairzxworld.com/viewtop ... f=4&t=4388 and it worked for me (but note that the joystick only works after you have pressed any key to start the game).

It is true that the joystick menu item does not have a dialog box associated with it, however, I think there is some support for a USB joystick within EightyOne.
If you:
a) plug in a USB joystick
b) enable zxpand+ in the hardware options
c) load a program that reads from the zxpand+ joystick port
then the joystick should work.
I've just tried this with the updated ZXGLX.P downloaded from https://www.sinclairzxworld.com/viewtop ... f=4&t=4388 and it worked for me (but note that the joystick only works after you have pressed any key to start the game).
Re: New release of EightyOne available
Joysticks were working fine as "SirMorris" enabled it for us on our ZonkeyKong game, though last time I tried it on a different computer a week ago it was not working. Haven't dug more into it yet (latest version of EO).. I'll try it back on my primary computer and see if its something related to the hardware but as far as I know it should be working unless one of the last couple EO updates accidently disabled it - maybe try about 3 versions back and see if that works?
Last edited by Spinnetti on Sun Feb 09, 2025 5:23 pm, edited 1 time in total.
Zeddy: ZX80, ZX81/ZXpand, TS1000/ZXpand, TS1500/Zxpand+,Printer
Speccy: 48k, +, +2, +3, TS2068, "Bare Metal" Pi, Next KS2, IF1/Microdrives/Vdrive/Light Gun/VGA-Joy
QL: Minerva/QL-VGA/Custom PSU
C5: 24v, LiFE battery, Disc brakes
Speccy: 48k, +, +2, +3, TS2068, "Bare Metal" Pi, Next KS2, IF1/Microdrives/Vdrive/Light Gun/VGA-Joy
QL: Minerva/QL-VGA/Custom PSU
C5: 24v, LiFE battery, Disc brakes
Re: New release of EightyOne available
My tests were using the latest version of EO (V1.40). Looking at the source code for that version it appeared to me that the joystick menu option would always be greyed out, however the joystick did work for me when I tested it with zxpand.
I also inspected the code in github, it appears that a lot of work is being done on joystick support at the moment, with a big submit being made two days ago
I also inspected the code in github, it appears that a lot of work is being done on joystick support at the moment, with a big submit being made two days ago

-
- Posts: 2
- Joined: Mon Jun 30, 2014 11:46 am
Re: New release of EightyOne available
Thank you for your replies.