Whilst developing PiStorm for Atari, I have noticed a couple of problems with EMUTos and AltRAM
1. if emulating a 68000 CPU, EMUTos does not recognise AltRAM (defined at 0x01000000)
2. I can assign a maximum of 32MB to AltRAM (68020, 30 and 40). Anything more, results in EMUTos reporting the AltRAM size = AltRAM + available system RAM - which then causes a Bus Error and EMUTos to abort loading.
eg. AltRAM defined as 64MB and Atari has 4MB of RAM, EMUTos reports AltRAM = 68MB
Does anyone know if these are known limitations?
EMUTos + AltRAM
-
dad664npc
- Posts: 166
- Joined: 12 Sep 2022 14:32
- Location: Oxfordshire
EMUTos + AltRAM
ATARI STfm, STe, Mega ST, TT
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
Pico HDC - https://bbansolutions.co.uk
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
Pico HDC - https://bbansolutions.co.uk
-
DaveC
- Posts: 125
- Joined: 18 Sep 2020 18:24
Re: EMUTos + AltRAM
68000 is 24bit address bus so is limited to 16Mb address space.dad664npc wrote: 02 Aug 2023 11:31 1. if emulating a 68000 CPU, EMUTos does not recognise AltRAM (defined at 0x01000000)
-
chronicthehedgehog
- Site sponsor

- Posts: 383
- Joined: 08 May 2022 18:11
- Location: The Midlands
Re: EMUTos + AltRAM
Does your EmuTOS build have the correct MMU flags? Have you tried a custom build?
custom build
Just a long shot idea - I'm no expert on the matter :)
custom build
Just a long shot idea - I'm no expert on the matter :)
-
dad664npc
- Posts: 166
- Joined: 12 Sep 2022 14:32
- Location: Oxfordshire
Re: EMUTos + AltRAM
I can never successfully build on that website - can you?
/home/www/usr/bin/../lib64/gcc/m68k-atari-mint/4.6.4/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
/home/www/usr/bin/../lib64/gcc/m68k-atari-mint/4.6.4/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
ATARI STfm, STe, Mega ST, TT
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
Pico HDC - https://bbansolutions.co.uk
Amstrad CPC464, CPC6128
PiStorm dev - https://github.com/gotaproblem/pistorm-atari
Pico HDC - https://bbansolutions.co.uk
-
stephen_usher
- Site sponsor

- Posts: 7376
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: EMUTos + AltRAM
Looks like someone didn't set their LD_LIBRARY_PATH. :-)
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
-
Steve
- Posts: 3305
- Joined: 15 Sep 2017 11:49
Re: EMUTos + AltRAM
maybe invoke @czietz the expert on EmuTOS :)
-
alexh
- Site sponsor

- Posts: 1335
- Joined: 17 Oct 2017 16:51
- Location: Oxfordshire
Re: EMUTos + AltRAM
That was a physical hardware limitation of the 68000 chip. I don't think emulated 68000 need to have that limitation. But you'd need to check the coding of the emulator.
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
-
chronicthehedgehog
- Site sponsor

- Posts: 383
- Joined: 08 May 2022 18:11
- Location: The Midlands
Re: EMUTos + AltRAM
never tried :lol:dad664npc wrote: 02 Aug 2023 13:21 I can never successfully build on that website - can you?
/home/www/usr/bin/../lib64/gcc/m68k-atari-mint/4.6.4/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
Just did - same error
-
chronicthehedgehog
- Site sponsor

- Posts: 383
- Joined: 08 May 2022 18:11
- Location: The Midlands
Re: EMUTos + AltRAM
Maybe you can copy and paste the 'make' command (i.e. the comp. flags) to your own local builddad664npc wrote: 02 Aug 2023 13:21 I can never successfully build on that website - can you?
/home/www/usr/bin/../lib64/gcc/m68k-atari-mint/4.6.4/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
-
czietz
- Posts: 586
- Joined: 14 Jan 2018 13:02
Re: EMUTos + AltRAM
As far as the TT-RAM question is concerned, I can confirm (personally from my TT) that EmuTOS runs fine with 256 MiB TT-RAM. Therefore, I like to rule out any general issue with EmuTOS. This must be a problem specific to the PiStorm; which I have no experience with.
For the "fake" 68000 with TT-RAM, you should check whether IS_BUS32 (32 bit bus) is set to 1, otherwise EmuTOS will not try to detect TT-RAM: https://github.com/emutos/emutos/blob/a ... C14-L36C31
Regarding the custom build website: This is generously provided by @thorsten.otto; he would have to look into the error message.
Feel free to continue the discussion on the EmuTOS-devel mailing list in case you have more technical questions: https://sourceforge.net/p/emutos/mailman/emutos-devel/.
For the "fake" 68000 with TT-RAM, you should check whether IS_BUS32 (32 bit bus) is set to 1, otherwise EmuTOS will not try to detect TT-RAM: https://github.com/emutos/emutos/blob/a ... C14-L36C31
Regarding the custom build website: This is generously provided by @thorsten.otto; he would have to look into the error message.
Feel free to continue the discussion on the EmuTOS-devel mailing list in case you have more technical questions: https://sourceforge.net/p/emutos/mailman/emutos-devel/.
Who is online
Users browsing this forum: ClaudeBot and 1 guest