|
It is currently Thu Mar 28, 2024 3:53 am
|
View unanswered posts | View active topics
|
|
|
|
Author |
Message |
mr-atari
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Mon Dec 13, 2021 3:34 am |
Joined: Sun Nov 02, 2003 8:15 am Posts: 1549 Location: netherlands
|
There was a glitch/bug coldstarting the machine when pressing RESET....
Long story short: During loading of the MyBIOS, I do a sum of C000-C0F0 of the internal OS and store this value as offset in the freshly loaded MyBIOS CCE-routine. Then during any cartridge check, MyBIOS sums BFF0-C000 and add this offset. Thus reproducing the original bug of Atari. So far so good, then for some unknown reason I do an extra ADC #00 to add the carry in the end. Testing revealed that all sums of any original OS were 1 short. So I basically removed this ADC #00 with NOP NOP.
Now, pressing Reset, does not kill MyBIOS, does not wipe memory and keeps IDE-access.
Also replaced the 8k ATB 1.57 with 1.58
Grtz, Sijmen.
[edit] attachments removed, newer version available, please scroll down in this topic.
|
|
|
|
|
mr-atari
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Mon Dec 13, 2021 5:32 am |
Joined: Sun Nov 02, 2003 8:15 am Posts: 1549 Location: netherlands
|
Short update, nah it's still not working correctly. If the sum of BFF0-C000 is lower then a certain value it still cold-starts the machine. Mac65/DDT does this. So do not press RESET, use shift+control+tab then R instead. In the meantime, I will try and implement the CCE-routine I apparently have re-written (again) for MyIDE-][. With a remark that the previous routine didn't work.... Upcoming 4.8.0B after so many years... Back later, give me 48 hours
|
|
|
|
|
mr-atari
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Fri Dec 17, 2021 3:58 am |
Joined: Sun Nov 02, 2003 8:15 am Posts: 1549 Location: netherlands
|
Ok, I have implemented the MyIDE-][ routine. This only effects the MyBIOS loaded from flash.
It goes like this: -During installation, look for the original Atari CCE-routine in C000-D000 -That starts with LDA #$00 TAX CLC ADC -If found, copy this address into the MyBIOS CCE-routine. -If not found, this code is unmodified.
MyBIOS CCE-routine: -Push code to stack. -Execute code from stack. Code: Wait for VCOUNT=0, switch to original OS, JSR CCE, switch to MyBIOS, CMP CHKSUM/RTS Where JSR CCE is the modified code. If the original OS has no CCE, it is LDA CHKSUM, meaning this code always returns true when executed.
Grtz, Sijmen
There are images and/or files attached to this posting. You must be logged-in to view or download this content.
|
|
|
|
|
thewhiz
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Fri Dec 17, 2021 7:23 am |
Joined: Mon Jun 21, 2004 7:53 am Posts: 354
|
Hi Sijmen-
All of the carts now appear to work properly, and reset correctly. Thanks very much for your efforts on this!
Regards, Larry
|
|
|
|
|
Sysop*Marius
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Sat Dec 25, 2021 9:14 am |
Joined: Thu Feb 05, 2004 10:34 am Posts: 261 Location: NL
|
Hi! I thought: let me discuss things here, that might be better than the AtariAge thread.
I have something odd going on in Altirra Basic... but perhaps that is problem with altirra basic, and not with this MyIDE workbook?
Try this code:
10 PRINT "HELLO" 20 RUN
And then run. I see "Hello" one time on the screen and then it turns black. MyBIOS is still working though, SHIFT+CONTROL+TAB gives the menu. (Tried with both XDOS and MyDOS).
And now it comes. Even without MyBIOS it acts even more weird. Sometimes RUNning this code restarts the Altirra cart. And Sometimes it makes the computer freeze. I have zero experience with Altirra Basic, so perhaps I am doing something seriously wrong (perhaps the RUN command should not be used in Code?) but I thought: let me mention this.
EDIT: Hey Mr. Atari -> This problem also occurs on an 8K rom I got from Altirra Basic 1.58, so I think this problem is not related to your created cartridge! Let me see what Phaeron says about it.
|
|
|
|
|
mr-atari
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Wed Dec 29, 2021 4:02 am |
Joined: Sun Nov 02, 2003 8:15 am Posts: 1549 Location: netherlands
|
Did you get a reply?
I must say, I never use 20 RUN, always 20 GOTO 10 But in Atari basic it works, so yeah, I think this is an altirra bug. Computer freezes completely....
===
About MyBIOS, I found the bug (finally) and fixed it.
Also added some "hidden" function when holding shift in the Image Menu. shift-N let you change the density in S,M,D,s,d Where s and d are special to use the maximum room of the image, not limited to 720 or 1040 sectors. The small s and d are produced, again, by holding shift and press s or d
Next is shift >, (SIO to IDE) this will copy every sector it can read and stops on an IO-error. Again, to make s or d images (not limited to 720/1040 disks). Numen on one DD disk as an example of a disk >180k Now it runs nicely from image mode.
In the copy process, I modified the sector 1-3 in SD on a DD disk, long and time-wasting retry-loop. Now it's super fast. Supporting HSIO=0
I am not ready yet, but if you want to test, drop me an email.
|
|
|
|
|
Sysop*Marius
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Thu Dec 30, 2021 5:32 am |
Joined: Thu Feb 05, 2004 10:34 am Posts: 261 Location: NL
|
Hey Sijmen,
Yes it is a bug. Older versions of Altirra Basic did/do support the RUN command. The fact that it kills the listing when you add a FOR NEXT loop in the code is not very promising either haha. I told phaeron and after some tests he confirmed that it is indeed a bug. He is working on it.
Great to read that you are fixing the MyIDE Bios. I appreciate that a lot. Once it is finished, I will be happy to test it for you.
All the best! And happy 2022! Marius
|
|
|
|
|
mr-atari
|
Post subject: Re: Latest MyBios for MyIDE + Flash Cartridge Posted: Fri Dec 31, 2021 2:26 am |
Joined: Sun Nov 02, 2003 8:15 am Posts: 1549 Location: netherlands
|
Thanks,
Best wishes to all !
|
|
|
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|