Wow GPT4 fixed it...
So TTram found..
No TTram found.
Now I can use that logic for my fast rom stuff soon :D
ST536 STE EDITION
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
You do not have the required permissions to view the files attached to this post.
-
Cyprian
- Posts: 542
- Joined: 22 Dec 2017 09:16
- Location: Warszawa, Poland
Re: ST536 STE EDITION
Wow GTP can be useful though.
Did you paste it all the code or just part of it?
Did you paste it all the code or just part of it?
ATW800/2 / V4sa / 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
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
By all the code you mean the whole operating system ? There is a limit on what you can paste and the more complicated problem is that more likely you will not find issue I think..Cyprian wrote: 13 Jun 2025 06:34 Wow GTP can be useful though.
Did you paste it all the code or just part of it?
I just pasted in the TTram test routines, which is about 1-2 pages of code.
Grok wrote my ROMCOPY program. But on other things it makes mistakes and refuses to see them. If I then copied the same question to GPT, it generally finds the problem. But GPT seems to really struggle with writing 68k code...
For example,Grok was trashing A0, it was clear even to me it was wrong, but grok did whole analysis of NSAID in bold letters there is no mistake! The same question in GPT suggest there was a mistake and I should use another registers such as A3. I asked to fix the code and it did and it worked afterwards.
Other times neither AI can solve the problems or write working code. I think the longer the conversation the more confused the AI's become. So it seems best to start a new conversation for each problem and not let the conversation get to long. It makes sense as well because browsers slowdown longer the conversation gets. I would have thought after like 20 years this problem could have been solved by now :roll:
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Assembly code is hard work ! :roll: Cant call a subroutine within the bus error handler.. super sulky where you put code and data...
My EPROM eraser has been on continuously for the past two days...
My EPROM eraser has been on continuously for the past two days...
You do not have the required permissions to view the files attached to this post.
-
stephen_usher
- Site sponsor

- Posts: 7376
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: ST536 STE EDITION
You sort of can if instead of jsr you use bsr and place the return address in a register (and your subroutine knows about this calling system).exxos wrote: 13 Jun 2025 15:31 Assembly code is hard work ! :roll: Cant call a subroutine within the bus error handler.. super sulky where you put code and data...
Also remember that you may be using a different stack, the supervisor one.
In the last week I've been doing a lot of m68k assembler in regions where I don't have a stack (or any other potentially working memory).
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.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
I don't get it :pullhair:
Basically..
Then a bit later.
Then a lot later in the code.
It crashes like error_flag is not defined ?!
:dizzy:
Basically..
Code: Select all
DATA
error_flag: dc.b 0
TEXTCode: Select all
clr.b error_flag /* clear error flag */Code: Select all
tst.b error_flagIt crashes like error_flag is not defined ?!
:dizzy:
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
I think the some bizarre reason the error flag is being allocated into ROM.. As I can read from it, but not write to it.
So if I do
It then works.
Maybe a bit naughty doing that, But ST-RAM hasn't even been tested at that point.. which could be part of the problem :shrug:
The flag will get trashed when ST-RAM test happens, but it doesn't get used again after that anyway.
So if I do
Code: Select all
error_flag: equ $00010000 /* safe ST-RAM location */Maybe a bit naughty doing that, But ST-RAM hasn't even been tested at that point.. which could be part of the problem :shrug:
The flag will get trashed when ST-RAM test happens, but it doesn't get used again after that anyway.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: ST536 STE EDITION
Can't test fully in Hatari... but it gets the messages kicked out.. so it *should* do the ROM copy on the STE536.. need to burn the ROM and find out next...
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
SUCCESS!
Forced no TTram in firmware.. So this is correct..
Enabled TTram in firmware and this is correct..
.. and proof ROM speed is almost 800% now!
I need to do a ton of code tidying next :lol: It can be next weeks problem ! :lol:
Oddly the colour changes don't work in Hatari at all :shrug:
Thanks for flying exxos assembly experimental airways.
exxos over and out.
:dizzy:
Forced no TTram in firmware.. So this is correct..
Enabled TTram in firmware and this is correct..
.. and proof ROM speed is almost 800% now!
I need to do a ton of code tidying next :lol: It can be next weeks problem ! :lol:
Oddly the colour changes don't work in Hatari at all :shrug:
Thanks for flying exxos assembly experimental airways.
exxos over and out.
:dizzy:
You do not have the required permissions to view the files attached to this post.
-
Cyprian
- Posts: 542
- Joined: 22 Dec 2017 09:16
- Location: Warszawa, Poland
Re: ST536 STE EDITION
congrats @exxos !!!
ATW800/2 / V4sa / 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
Who is online
Users browsing this forum: ClaudeBot and 1 guest