Re: Converting HISOFT to 68K ASM "almost" works
Posted: 09 Feb 2026 18:22
Apologies; my input here will be sporadic (had to do school/work pickup run and tea for everyone between my last post. Phew!)
Anyway, I will start with not recommending using *any* of the AI bots for programming.
From what Ive seen so far, they all seem to 'talk the talk' and can use boilerplate code to appear correct. However, when it comes to creative thinking in between the cracks, they seem to fail bad; like worse than a noob coder.
If you use them then the time saved in coding a function/program is offset to bugfixing and can take as much time as writing the code yourself in some cases.
Also, I will refer you to the thread on AF that I *think* @Steve referenced and the growing divide (love/hate) of coders opinions of AI: https://www.atari-forum.com/viewtopic.p ... 70#p492111
Ok, back to specifics...
I think you had it 99% right just before my first response (as far as I could tell whilst from heavily relying on an AI generated program), other than the subtracting of 255 from the high byte, which seemed a weird thing to do to me. I would have thought it would be masked out instead.
But I gave it the benefit of the doubt, as you said it worked.
However, as it doesnt fully work, Im not sure doing that is correct.
But as I dont have any idea of the format of the value in the RTC_data output, I cant actually help you here.
Anyway, I will start with not recommending using *any* of the AI bots for programming.
From what Ive seen so far, they all seem to 'talk the talk' and can use boilerplate code to appear correct. However, when it comes to creative thinking in between the cracks, they seem to fail bad; like worse than a noob coder.
If you use them then the time saved in coding a function/program is offset to bugfixing and can take as much time as writing the code yourself in some cases.
Also, I will refer you to the thread on AF that I *think* @Steve referenced and the growing divide (love/hate) of coders opinions of AI: https://www.atari-forum.com/viewtopic.p ... 70#p492111
Ok, back to specifics...
I think you had it 99% right just before my first response (as far as I could tell whilst from heavily relying on an AI generated program), other than the subtracting of 255 from the high byte, which seemed a weird thing to do to me. I would have thought it would be masked out instead.
But I gave it the benefit of the doubt, as you said it worked.
However, as it doesnt fully work, Im not sure doing that is correct.
But as I dont have any idea of the format of the value in the RTC_data output, I cant actually help you here.