home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,945 of 4,675   
   Rick C. Hodgin to Ruud Baltissen   
   Re: I'm looking for a mathematical libra   
   19 Sep 19 00:11:07   
   
   From: rick.c.hodgin@gmail.com   
      
   On 9/17/2019 3:54 AM, Ruud Baltissen wrote:   
   > Hello,   
   >   
   > I'm working on my own OS, meant to run on various 8088 based machines, not   
   just the PC. I'm also programming my own Pascal compiler that should run under   
   that OS. It is able to compile itself, it only outputs macros and it is up to   
   the assembler plus    
   an INC file to turn it in a running program. So far I was able to create   
   programs that run on a Commodore 64. I'm now busy now to create an INC file   
   for the 8088. Outputting a string under my OS or MS-DOS goes fine. But I also   
   need to fill the macros    
   needed for the mathematical functions. I could invent the wheel twice but   
   handling REALs is not easy. But Google wasn't my friend this time.   
   >   
   > So I'm looking for a mathematical library in assembler for the 8088. Can   
   anybody help, please?   
   >   
   > Any other library is welcome as well!   
   >   
   > Thank you in advance!   
   >   
   > Kind regards, Ruud Baltissen   
      
      
   Soft CPU apps like Bochs are open source.  They include full x87   
   support, though to be honest it may be implemented via pass-thru   
   computation on the host CPU.   
      
   If you really want to tackle this project, read up on how the FPU   
   operates, how the CPU monitors the FPU instruction steam and sits   
   idly by while the FPU processes those opcodes.  When the FPU is   
   not present, how it signals an emulation interrupt.   
      
   In either case, creating your own library for each opcode would   
   be a decent task, but it is doable.  If you aren't looking to be   
   fully IEEE-754 compliant, it would be notably easier.  And if you   
   wanted to do something like what Bart did, and re-define the FPU   
   features on your soft-8088/8087 combo, then you have a lot of leg   
   room for feature sets.   
      
   --   
   Rick C. Hodgin   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca