It does error when compiling, that's how I know about it :)
It just confused me, I don't remember the error, likely was duplicated label when there actually wasn't.
ST536 STE EDITION
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Works with CDIS on/off. Long word copy..
Also just tested the start from zero and also fine.
When it was going nuts in STOS before it was failing at hex 80007 where it likely trashed my settings register. If I take 8 off it works fine.. Its possible that was a bug in the original code and copied one long word to many...
As to why it didn't crash with CDIS enabled originally.. No idea. Maybe just a fluke of whatever data was in the cache at the time which wasn't enough to trash my register :shrug:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
I'm trying my build of TOS206 in Hatari, but it never works right. I remember I posted before issues on their emailing list but never got anywhere :(
It looks like it's constantly resetting and then it looks like it flashes the message copying ROM to RAM but it runs way to fast, is there anyway to slow it all down ? I running at 8mhz...
Currently I don't know if this is a problem with Hatari or my code.. I will have to burn some physical ROMS to test.. but its annoying to having to keep doing that :(
I think something is broken somewhere because the STram test doesn't seem to be even showing.
It looks like it's constantly resetting and then it looks like it flashes the message copying ROM to RAM but it runs way to fast, is there anyway to slow it all down ? I running at 8mhz...
Currently I don't know if this is a problem with Hatari or my code.. I will have to burn some physical ROMS to test.. but its annoying to having to keep doing that :(
I think something is broken somewhere because the STram test doesn't seem to be even showing.
-
Steve
- Posts: 3305
- Joined: 15 Sep 2017 11:49
Re: ST536 STE EDITION
Probably an issue with Hatari related to this: https://www.atari-forum.com/viewtopic.php?t=45453
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Yeah that looks like a huge headache :shock:Steve wrote: 23 Oct 2025 15:56 Probably an issue with Hatari related to this: https://www.atari-forum.com/viewtopic.php?t=45453
I know I have fought with it deciding what TOS version goes with which machine before which didn't help. Patching variables may be good for most people but for developers we really need a 100% accurate behaviour to a real machine :roll:
I will just burn the ROMs a million times, be quicker :P
EDIT:
OK it basically worked, but it output the same message 4 times :lol: :roll:
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
:pullhair: :pullhair: :pullhair:
Its either I get 4 letters corruption on the first line, or I get the same line multiple times! Can't bloody win!! :lol: :roll:
Its either I get 4 letters corruption on the first line, or I get the same line multiple times! Can't bloody win!! :lol: :roll:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Just a couple of quick benchmarks I did with CDIS on/off and with blitter on/off
The ROM COPY stuff is now fixed as well :)
Also fixed the a bug in the firmware so a reset doesn't revert back to the physical ROM :)
I suppose I should figure out how to get the start-up messages in different languages now as well :lol: :roll:
The ROM COPY stuff is now fixed as well :)
Also fixed the a bug in the firmware so a reset doesn't revert back to the physical ROM :)
I suppose I should figure out how to get the start-up messages in different languages now as well :lol: :roll:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
So Grok can figure all the language stuff out !
Done in seconds ! As to if it will actually compile or not all be correct is another matter,, probably not :lol: I would assume special characters are not going to compile well in text strings :shrug:
EDIT:
OK didn't like all the ELSE stuff, so did away with all that.
CTRY_US
CTRY_DE
CTRY_FR
CTRY_UK
CTRY_ES
CTRY_IT
CTRY_SE
CTRY_SF
CTRY_SG
CTRY_TR
CTRY_FI
CTRY_NO
CTRY_DK
CTRY_SA
CTRY_NL
CTRY_CZ
CTRY_HU
CTRY_PL
code syntax is atari MADMAC compiler
example, i want all the CTRY varibles in my list to be all in a if else block.
This is UK data text as a example.
#if OS_COUNTRY == CTRY_UK
ttram_error_msg: dc.b 'Error: TT-RAM not found. ROM copy aborted.',13,10,0
start_msg: dc.b "Copying full 27C4096 ROM to TT-RAM...",13,10,0
copy_done_msg: dc.b "Copy complete.",13,10,0
verify_ok_msg: dc.b "Verification successful!",13,10,0
veri_fail_msg: dc.b "Verification failed!",13,10,0
addr_msg: dc.b "Failing address: $",0
src_msg: dc.b "Expected: $",0
dst_msg: dc.b "Actual: $",0
keypress_msg: dc.b "Press any key to exit...",13,10,0
#else if if OS_COUNTRY == CTRY_DE
(messages translated from UK to DE)
#endif
and repeat the elseif blocks and translate for each language in the CNTY_ list
# valid countries are:
# us - USA
# de - Germany
# fr - France
# uk - United Kingdom
# es - Spain
# it - Italy
# se - Sweden
# sf - Switzerland (French)
# sg - Switzerland (German)
ignore all other CTRY_
Code: Select all
#if OS_COUNTRY == CTRY_UK
ttram_error_msg: dc.b 'Error: TT-RAM not found. ROM copy aborted.',13,10,0
start_msg: dc.b 'Copying full 27C4096 ROM to TT-RAM...',13,10,0
copy_done_msg: dc.b 'Copy complete.',13,10,0
verify_ok_msg: dc.b 'Verification successful!',13,10,0
veri_fail_msg: dc.b 'Verification failed!',13,10,0
addr_msg: dc.b 'Failing address: $',0
src_msg: dc.b 'Expected: $',0
dst_msg: dc.b 'Actual: $',0
keypress_msg: dc.b 'Press any key to exit...',13,10,0
#else if OS_COUNTRY == CTRY_US
ttram_error_msg: dc.b 'Error: TT-RAM not found. ROM copy aborted.',13,10,0
start_msg: dc.b 'Copying full 27C4096 ROM to TT-RAM...',13,10,0
copy_done_msg: dc.b 'Copy complete.',13,10,0
verify_ok_msg: dc.b 'Verification successful!',13,10,0
veri_fail_msg: dc.b 'Verification failed!',13,10,0
addr_msg: dc.b 'Failing address: $',0
src_msg: dc.b 'Expected: $',0
dst_msg: dc.b 'Actual: $',0
keypress_msg: dc.b 'Press any key to exit...',13,10,0
#else if OS_COUNTRY == CTRY_DE
ttram_error_msg: dc.b 'Fehler: TT-RAM nicht gefunden. ROM-Kopie abgebrochen.',13,10,0
start_msg: dc.b 'Kopiere vollständiges 27C4096 ROM nach TT-RAM...',13,10,0
copy_done_msg: dc.b 'Kopieren abgeschlossen.',13,10,0
verify_ok_msg: dc.b 'Überprüfung erfolgreich!',13,10,0
veri_fail_msg: dc.b 'Überprüfung fehlgeschlagen!',13,10,0
addr_msg: dc.b 'Fehlerhafte Adresse: $',0
src_msg: dc.b 'Erwartet: $',0
dst_msg: dc.b 'Tatsächlich: $',0
keypress_msg: dc.b 'Drücken Sie eine beliebige Taste zum Beenden...',13,10,0
#else if OS_COUNTRY == CTRY_FR
ttram_error_msg: dc.b 'Erreur : TT-RAM non trouvé. Copie ROM annulée.',13,10,0
start_msg: dc.b 'Copie du ROM 27C4096 complet vers TT-RAM...',13,10,0
copy_done_msg: dc.b 'Copie terminée.',13,10,0
verify_ok_msg: dc.b 'Vérification réussie !',13,10,0
veri_fail_msg: dc.b 'Échec de la vérification !',13,10,0
addr_msg: dc.b 'Adresse défaillante : $',0
src_msg: dc.b 'Attendu : $',0
dst_msg: dc.b 'Réel : $',0
keypress_msg: dc.b 'Appuyez sur une touche pour quitter...',13,10,0
#else if OS_COUNTRY == CTRY_ES
ttram_error_msg: dc.b 'Error: TT-RAM no encontrado. Copia de ROM abortada.',13,10,0
start_msg: dc.b 'Copiando ROM 27C4096 completo a TT-RAM...',13,10,0
copy_done_msg: dc.b 'Copia completada.',13,10,0
verify_ok_msg: dc.b '¡Verificación exitosa!',13,10,0
veri_fail_msg: dc.b '¡Fallo en la verificación!',13,10,0
addr_msg: dc.b 'Dirección fallida: $',0
src_msg: dc.b 'Esperado: $',0
dst_msg: dc.b 'Real: $',0
keypress_msg: dc.b 'Presione cualquier tecla para salir...',13,10,0
#else if OS_COUNTRY == CTRY_IT
ttram_error_msg: dc.b 'Errore: TT-RAM non trovato. Copia ROM interrotta.',13,10,0
start_msg: dc.b 'Copia del ROM 27C4096 completo su TT-RAM...',13,10,0
copy_done_msg: dc.b 'Copia completata.',13,10,0
verify_ok_msg: dc.b 'Verifica riuscita!',13,10,0
veri_fail_msg: dc.b 'Verifica fallita!',13,10,0
addr_msg: dc.b 'Indirizzo fallito: $',0
src_msg: dc.b 'Atteso: $',0
dst_msg: dc.b 'Effettivo: $',0
keypress_msg: dc.b 'Premi un tasto per uscire...',13,10,0
#else if OS_COUNTRY == CTRY_SE
ttram_error_msg: dc.b 'Fel: TT-RAM hittades inte. ROM-kopiering avbruten.',13,10,0
start_msg: dc.b 'Kopierar hela 27C4096 ROM till TT-RAM...',13,10,0
copy_done_msg: dc.b 'Kopiering slutförd.',13,10,0
verify_ok_msg: dc.b 'Verifiering lyckades!',13,10,0
veri_fail_msg: dc.b 'Verifiering misslyckades!',13,10,0
addr_msg: dc.b 'Misslyckad adress: $',0
src_msg: dc.b 'Förväntat: $',0
dst_msg: dc.b 'Faktiskt: $',0
keypress_msg: dc.b 'Tryck på valfri tangent för att avsluta...',13,10,0
#else if OS_COUNTRY == CTRY_SF
ttram_error_msg: dc.b 'Erreur : TT-RAM non trouvé. Copie ROM annulée.',13,10,0
start_msg: dc.b 'Copie du ROM 27C4096 complet vers TT-RAM...',13,10,0
copy_done_msg: dc.b 'Copie terminée.',13,10,0
verify_ok_msg: dc.b 'Vérification réussie !',13,10,0
veri_fail_msg: dc.b 'Échec de la vérification !',13,10,0
addr_msg: dc.b 'Adresse défaillante : $',0
src_msg: dc.b 'Attendu : $',0
dst_msg: dc.b 'Réel : $',0
keypress_msg: dc.b 'Appuyez sur une touche pour quitter...',13,10,0
#else if OS_COUNTRY == CTRY_SG
ttram_error_msg: dc.b 'Fehler: TT-RAM nicht gefunden. ROM-Kopie abgebrochen.',13,10,0
start_msg: dc.b 'Kopiere vollständiges 27C4096 ROM nach TT-RAM...',13,10,0
copy_done_msg: dc.b 'Kopieren abgeschlossen.',13,10,0
verify_ok_msg: dc.b 'Überprüfung erfolgreich!',13,10,0
veri_fail_msg: dc.b 'Überprüfung fehlgeschlagen!',13,10,0
addr_msg: dc.b 'Fehlerhafte Adresse: $',0
src_msg: dc.b 'Erwartet: $',0
dst_msg: dc.b 'Tatsächlich: $',0
keypress_msg: dc.b 'Drücken Sie eine beliebige Taste zum Beenden...',13,10,0
#endifEDIT:
OK didn't like all the ELSE stuff, so did away with all that.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Anyone know how you are supposed to handle the special characters in different languages ?
I assume it will be better to use the character code rather than the letter itself?
I assume it will be better to use the character code rather than the letter itself?
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Ahh yep it needs the chr code itself..
As there's not many letters to change , I will do them manually... AI could do it, but it may make mistakes.
https://www.atari-wiki.com/index.php?ti ... tascii.gif
As there's not many letters to change , I will do them manually... AI could do it, but it may make mistakes.
https://www.atari-wiki.com/index.php?ti ... tascii.gif
You do not have the required permissions to view the files attached to this post.
Who is online
Users browsing this forum: ClaudeBot and 6 guests