Jump to content
IGNORED

How to implent PBI routines back in an OS


Marius

Recommended Posts

Hi.

 

As some know I am 'tweaking' MyIDE OS 3.1 ... although this versions lacks a lot of nice features the new Firmwares have, I think MyIDE OS 3.1 was the release that came as close as possible to a standard ATARI XL/XE OS. It is an extremely compatible OS, and I like it.

 

I'm in the final stage of fixing existing bugs, and I think it is really a nice 'plan B' myIDE OS to use.

 

But now the question:

 

Mr. Atari (the original author of this OS) left out (or at least: disabled) the PBI routines. I want to re-enable them, but I don't know how.

 

When I compare the MyIDE OS 3.1 with the original Atari Xl/XE OS I conclude that PBI routines are still there, so my guess is that they are just disabled.

 

Anyone a clue which steps to make to get PBI working again?

Link to comment
Share on other sites

Look for references to $247, $248 and $D1FF in the original and see if they exist in the modified OS.

 

Boot a disk image in Altirra and trap read to $E459 in each OS. Then trace through and see if they do the same thing.

You'd not need to trace the entire IO operation, the PBI check happens fairly early in a SIO call.

 

You can also set up an emulated IDE Plus 2 in Altirra which is a PBI compliant device.

 

My guess is the easiest way to disable PBI is probably somewhere in the OS Cold/Warmstart code.

There's also PBI relevant code in the resident IRQ handler, so maybe check for differences there too.

Link to comment
Share on other sites

@shawn

 

No he did not in MyIDE 3.1

 

I'm 100% sure about that. I remember the time I was trying to let MyIDE 3.1 work together with the Mux. He send me (back then) MyIDE 3.1 OS back with the PBI routines back installed. Unfortunately I can not find that ROM anywhere anymore.

 

I wished I had dropbox years ago. Now I never lose anything...

Link to comment
Share on other sites

PENTV looks intact in 3.1. The PBI initialization scan is also still there, which really should have been disabled for the internal version as it writes commands to the IDE device. The critical part missing for PBI block devices, though, is the hook at the beginning of the SIO routine to poll the PBI ROMs to see if any one them want to handle the request.

Link to comment
Share on other sites

Thank you all for your detailed responses! This is really helpful people!

 

I haven't had time yet to look at this further (There was suddenly a game called MULE brought under my attention hehe).

 

But I wanted to let you all know that I appreciate all your help. When I have succeeded a bit more on this, I'll let you all know!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...