Jump to content
IGNORED

What XL/XE OS have a fast math pack?


Larry

Recommended Posts

Possibly some versions of Omnimon/Omniview?

 

The old Newell fastchip should work in any OS version (ie just replace the 2K section in later single-chip OSes). There's a later FP replacement for XL/XE that from memory also uses some of the space within the main OS Rom (and it's faster again).

Link to comment
Share on other sites

So far, I've found one -- I think. Clearly the "FASTMATH" OS has an improved math package. But I can't tell if it has the PBI drivers, or is just another 800 replacement OS.

 

So, a couple of questions:

 

1) Is there a way to tell if if the PBI driver is present?

I've read through the "The Parallel Bus Revealed" and as I understand it, if a PBI device is found, then when it is called, it disables the first 200 bytes of the math package to execute the PBI. So there should be a way to find the code that is responsible for finding and putting the device in the handler address table. (?) Any thoughts?

 

2) It looks like one could "roll their own" OS by taking *any* fast math package and pasting it into the $D800 - $DFFF rom address space. Should that work, or am I oversimplifying it?

 

Found a good article at

http://www.atarimax.com/freenet/freenet_material/5.8-BitComputersSupportArea/7.TechnicalResourceCenter/showarticle.php?14

 

-Larry

Link to comment
Share on other sites

PBI has the FPD signal (Floating Point Disable) which switches out the entire 2K FP from $D800-$DFFF.

 

Easy way... I guess you could check the IRQ handler, if there's references to $D1FF then the PBI code is probably present.

In fact, probably just search the OS Rom for occurrences of $FF,$D1 then list from just before that.

 

"Any fast math" - not quite, the fastest one I mentioned earlier uses more than just the normal 2K but with the Newell based one it should be a dropin replacement for any other Rom image.

Link to comment
Share on other sites

Hello Rybags

 

PBI has the FPD signal (Floating Point Disable) which switches out the entire 2K FP from $D800-$DFFF.

 

...

 

... the Newell based one ....

 

MPD (Math Pack Disable).

 

BTW I never heard that the fast MP replaced the PBI driver inside the ROM (but it does, as you say, switch out the MP when the PBI code is accessed).

 

The fast math routines where sold/marketed by Newell, but coded by Charles Marslett.

 

Sincerely

 

Mathy

Link to comment
Share on other sites

Any PBI device that wants the stock OS to find it sets a bit in $247, one bit for each of 8 possible PBI devices. So, if you look in $247 and it is non-zero, you have a PBI device.

 

I would guess that you can put any kind of MathPack code in $D8xx.

 

Bob

 

 

 

So far, I've found one -- I think. Clearly the "FASTMATH" OS has an improved math package. But I can't tell if it has the PBI drivers, or is just another 800 replacement OS.

 

So, a couple of questions:

 

1) Is there a way to tell if if the PBI driver is present?

I've read through the "The Parallel Bus Revealed" and as I understand it, if a PBI device is found, then when it is called, it disables the first 200 bytes of the math package to execute the PBI. So there should be a way to find the code that is responsible for finding and putting the device in the handler address table. (?) Any thoughts?

 

2) It looks like one could "roll their own" OS by taking *any* fast math package and pasting it into the $D800 - $DFFF rom address space. Should that work, or am I oversimplifying it?

 

Found a good article at

http://www.atarimax.com/freenet/freenet_material/5.8-BitComputersSupportArea/7.TechnicalResourceCenter/showarticle.php?14

 

-Larry

Link to comment
Share on other sites

Don't confuse PBI code within the OS with that provided by the device - the OS code is within the 12K C000-CFFF and E000-FFFF areas, the PBI device handlers provided by the likes of IDE +2 are the ones that switch into the D800-DFFF area.

They don't replace the FP, the switch in is only for the duration of calls to the handler by CIO, SIO and cold/warmstart routines.

  • Like 1
Link to comment
Share on other sites

Don't confuse PBI code within the OS with that provided by the device - the OS code is within the 12K C000-CFFF and E000-FFFF areas, the PBI device handlers provided by the likes of IDE +2 are the ones that switch into the D800-DFFF area.

They don't replace the FP, the switch in is only for the duration of calls to the handler by CIO, SIO and cold/warmstart routines.

 

In addition to that: It is not the matter of the Os to disable the math pack. This is a hardware line that is pulled by the external hardware if it wants to make its own ROM code visible, and this will - or should - only happen in case the device handler requires the ROM space, i.e. is called by CIO or SIO. Hence, whether a PBI device is present or not does not change the general availability of the math pack. Regular programs still see it. The only restriction is that PBI device handler code cannot use floating point math. But that's not a loss since usually such devices will perform I/O, and not math.

Link to comment
Share on other sites

 

In addition to that: It is not the matter of the Os to disable the math pack. This is a hardware line that is pulled by the external hardware if it wants to make its own ROM code visible, and this will - or should - only happen in case the device handler requires the ROM space, i.e. is called by CIO or SIO. Hence, whether a PBI device is present or not does not change the general availability of the math pack. Regular programs still see it. The only restriction is that PBI device handler code cannot use floating point math. But that's not a loss since usually such devices will perform I/O, and not math.

 

Hi-

 

I know you have a super math package, but your OS has no provision for PBI, IIRC? Does your math pack fit in $D800-$DFFF? Drop-in? I'm thinking yours is bigger than that, but it's been a while since we discussed it.

 

-Larry

Link to comment
Share on other sites

 

Hi-

 

I know you have a super math package, but your OS has no provision for PBI, IIRC? Does your math pack fit in $D800-$DFFF? Drop-in? I'm thinking yours is bigger than that, but it's been a while since we discussed it.

 

-Larry

 

Yes, Os++ does not have provisions for PBI (due to lack of documentation, and better use of the same ROM area), but the mathpack is a drop-in replacement that is the same size as the original. It does not require any additional ROM space - hence in principle it could replace the built-in math-pack.

 

However, while it is faster than the original, it is surely not as fast as dedicated fast-math packages that unroll loops. These require more ROM space than available in the original 2K the math pack takes.

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