ST536 STE EDITION

All about the ST536 030 ST booster.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

Wow GPT4 fixed it...

1.PNG

So TTram found..

IMG_3377.JPG

No TTram found.

IMG_3378.JPG

Now I can use that logic for my fast rom stuff soon :D

44.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
Cyprian
Posts: 542
Joined: 22 Dec 2017 09:16
Location: Warszawa, Poland

Re: ST536 STE EDITION

Post by Cyprian »

Wow GTP can be useful though.
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
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

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?
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..

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:
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

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...

IMG_3379.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: ST536 STE EDITION

Post by stephen_usher »

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...
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).

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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

I don't get it :pullhair:

Basically..

Code: Select all

DATA
error_flag:  dc.b 0
TEXT
Then a bit later.

Code: Select all

clr.b   error_flag 		/* clear error flag */
Then a lot later in the code.

Code: Select all

    tst.b   error_flag

It crashes like error_flag is not defined ?!

:dizzy:
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

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

Code: Select all

error_flag: equ $00010000  /* safe ST-RAM location */
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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

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...

1.PNG
2.PNG
You do not have the required permissions to view the files attached to this post.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: ST536 STE EDITION

Post by exxos »

SUCCESS!

Forced no TTram in firmware.. So this is correct..

IMG_3380.JPG

Enabled TTram in firmware and this is correct..

IMG_3382.JPG

.. and proof ROM speed is almost 800% now!

IMG_3383.JPG

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.
User avatar
Cyprian
Posts: 542
Joined: 22 Dec 2017 09:16
Location: Warszawa, Poland

Re: ST536 STE EDITION

Post by Cyprian »

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

Return to “ST536 030 ST ACCELERATOR”

Who is online

Users browsing this forum: ClaudeBot and 1 guest