What is this? if i know about it i'll add it to stock firmware with ATARI parameter on.
Agranlunds TF534 Build
Moderators: terriblefire, Terriblefire Moderator
-
- Moderator Team
- Posts: 5389
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: Agranlunds TF534 Build
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
Re: Agranlunds TF534 Build
ah I see TF has updated 3 months ago on git. So he must have uploaded the later firmware which I was also testing out.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: Agranlunds TF534 Build
MonSTer ram size register appears to be at 0xfffffe00 and EmuTOS reads from here to detect it.What is this? if i know about it i'll add it to stock firmware with ATARI parameter on.
Unfortunatelly EmuTOS is then hardcoded to change the setting to 8MB (or 6MB for STE) :/
Locally, I will just rebuild EmuTOS to use the value it reads, but it makes it somewhat tricky to include MonSTer pretend in an official firmware due to this behavior? Except for on TF boards with >=8MB of course.
Having the MonSTer register(s) on the TF would also mean that we would be able to use the MonSTer alt-ram driver instead of writing our own.
The Monster Alt-RAM driver with source can be found here: http://www.fairlite.co.uk/AtariKit/monster/monster.html
It appears there are some other registers as well but since I am at work I haven't had time to see if we actually need to include any more of them.
Here's a rough copy-paste from the EmuTOS sources:
#define MONSTER_REG 0xfffffe00UL
has_monster = check_read_byte(MONSTER_REG);
/* Add MonSTer Alt-RAM detected in machine.c */
if (has_monster)
{
/* Dummy read from MonSTer register to initiate write sequence. */
unsigned short monster_reg = *(volatile unsigned short *)MONSTER_REG;
/* Only enable 6Mb when on a Mega STE due to address conflict with
VME bus. Todo: This should be made configurable. */
if (cookie_mch == MCH_MSTE)
monster_reg = 6;
else
monster_reg = 8;
/* Register write sequence: read - write - write */
*(volatile unsigned short *)MONSTER_REG = monster_reg;
*(volatile unsigned short *)MONSTER_REG = monster_reg;
KDEBUG(("xmaddalt()\n"));
xmaddalt((UBYTE *)0x400000L, monster_reg*0x100000L);
}
/* ==== check_read_byte =====================================================
*
* check_read_byte - Verify access to the memory pointed to by the ptr
*
* C call: int check_read_byte(long);
* returns 0 if reading the address caused a bus error
*/
_check_read_byte:
Re: Agranlunds TF534 Build
Haha I just spent way too much time troubleshooting why accessing the onboard RAM only gave me bus errors, including re-soldering the ram and cplds... and now I feel like a complete idiot
The firmware I am using was apparently mapping the onboard RAM to 0x40000000, not 0x00400000 like the MonSTer as I assumed. So basically... never assume
As I was about to remap the onboard RAM to 0x00400000, it got me thinking though.
Isn't it instead better if the TF cards, with Atari specific firmware, maps the onboard ram as TT RAM instead of "alt-ram"?
After all, that's how Atari introduced FastRam, and it would also mean that we could, just the TT, support much more RAM.
(I guess it's not relevant for the TF534, but very interesting for the TF536)
TT RAM lives in the 32bit memory space and starts at 0x01000000:
$01000000-$013FFFFF|TT Fast Ram
$01400000-$FDFFFFFF|Reserved
(Since TT's can have 128MB RAM expansions, I assume that ram just keeps going into the Reserved space? Or does anyone know for sure? I never had a TT)
Another big benefit would be that EmuTOS should be able to auto-detect and install it, and perhaps even Atari TOS (unless it's depending on some other registers before starting TT RAM detection, or if perhaps only TOS 3.0 and higher does it?)
Nevertheless, if the OS cannot auto-detect it we would be no worse off anyway, and would have to install it in a similar fashion to how the MonSTer application does it.
The only drawback I can think of is perhaps compatibility with a theoretical badly written application, that assumes 24bit addressing and leaves garbage in the upper 8 bits - but that would have been a problem on a TT as well - and I suppose Atari already tried to solve this issue with PRG fastram load/alloc flags.
I'm just thinking out load really. I will remap the RAM as TT ram on my card and give it a go.
But if that works well then that would be my suggestion for the official firmware.
The firmware I am using was apparently mapping the onboard RAM to 0x40000000, not 0x00400000 like the MonSTer as I assumed. So basically... never assume
As I was about to remap the onboard RAM to 0x00400000, it got me thinking though.
Isn't it instead better if the TF cards, with Atari specific firmware, maps the onboard ram as TT RAM instead of "alt-ram"?
After all, that's how Atari introduced FastRam, and it would also mean that we could, just the TT, support much more RAM.
(I guess it's not relevant for the TF534, but very interesting for the TF536)
TT RAM lives in the 32bit memory space and starts at 0x01000000:
$01000000-$013FFFFF|TT Fast Ram
$01400000-$FDFFFFFF|Reserved
(Since TT's can have 128MB RAM expansions, I assume that ram just keeps going into the Reserved space? Or does anyone know for sure? I never had a TT)
Another big benefit would be that EmuTOS should be able to auto-detect and install it, and perhaps even Atari TOS (unless it's depending on some other registers before starting TT RAM detection, or if perhaps only TOS 3.0 and higher does it?)
Nevertheless, if the OS cannot auto-detect it we would be no worse off anyway, and would have to install it in a similar fashion to how the MonSTer application does it.
The only drawback I can think of is perhaps compatibility with a theoretical badly written application, that assumes 24bit addressing and leaves garbage in the upper 8 bits - but that would have been a problem on a TT as well - and I suppose Atari already tried to solve this issue with PRG fastram load/alloc flags.
I'm just thinking out load really. I will remap the RAM as TT ram on my card and give it a go.
But if that works well then that would be my suggestion for the official firmware.
Re: Agranlunds TF534 Build
Storm supports up to 256MB TT-RAMagranlund wrote: ↑Sat Sep 21, 2019 3:41 pm TT RAM lives in the 32bit memory space and starts at 0x01000000:
$01000000-$013FFFFF|TT Fast Ram
$01400000-$FDFFFFFF|Reserved
(Since TT's can have 128MB RAM expansions, I assume that ram just keeps going into the Reserved space? Or does anyone know for sure? I never had a TT)
http://wiki.newtosworld.de/index.php?ti ... sh_Version
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
Re: Agranlunds TF534 Build
Yeah ok, I'm now convinced that the onboard ram should be mapped to TT-Ram space
It basically makes it just work out of the box with EmuTOS.
Atari TOS 2.06 does not detect TT RAM, probably need Tos 3.01 or newer for that, so I'm going to write a simple "driver" to enable it under 2.06 also.
Nice speed boost when running the application from FastRam.
I used the TT application FLAGSETTT.PRG to flag Gembench to both load into and allocate from FastRAM.
EmuTOS itself is not running from FastRAM here, but it can be compiled to be RAM-Loadable from any location so that's on the todo list.
TT version of Yaart just works of course.
It basically makes it just work out of the box with EmuTOS.
Atari TOS 2.06 does not detect TT RAM, probably need Tos 3.01 or newer for that, so I'm going to write a simple "driver" to enable it under 2.06 also.
Nice speed boost when running the application from FastRam.
I used the TT application FLAGSETTT.PRG to flag Gembench to both load into and allocate from FastRAM.
EmuTOS itself is not running from FastRAM here, but it can be compiled to be RAM-Loadable from any location so that's on the todo list.
TT version of Yaart just works of course.
Re: Agranlunds TF534 Build
nice figures Agranlund.
Can you do please NemBench v2.1 test?
http://www.atari-forum.com/viewtopic.php?t=17970
Can you do please NemBench v2.1 test?
http://www.atari-forum.com/viewtopic.php?t=17970
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
Re: Agranlunds TF534 Build
Sure! And thanks for bringing that benchmark program to my attention, I didn't know about it.Can you do please NemBench v2.1 test?
Sadly no FPU results as I don't have an FPU - I do plan on ordering one from the Exxos store though.
Also, the readme advices to use Mono mode but I only have a homemade vga cable for colour display so I ran it in medium resolution.
"Use ST-high resolution monochrome (640x400x2) when running the tests, as this reduces the detrimental impact the video hardware can have on the bus when trying to display lots of pixels and colours."
If I understood it correctly, these numbers are in comparison to a stock 16Mhz Falcon.
- 8 Bit Dreams
- Moderator Team
- Posts: 785
- Joined: Fri Nov 09, 2018 7:12 am
- Location: Germany
Re: Agranlunds TF534 Build
will this FW be uploaded somewhere? Would like to test it..
Retro computer hardware & repair in Germany