home bbs files messages ]

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

   alt.os.development      Operating system development chatter      4,255 messages   

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

   Message 4,248 of 4,255   
   Paul Edwards to All   
   386 to x64   
   14 Mar 25 19:24:22   
   
   From: mutazilah@gmail.com   
      
   The recent success of z/PDOS-generic has led me to the   
   realization of another possibility.   
      
   I could compile an 80386 (PM32) version of PDOS-generic,   
   which is meant to run natively, and then have an appropriate   
   pseudo-bios which switches from PM32 with interrupts   
   disabled, to x64 with interrupts enabled, in order to   
   (eventually) execute the appropriate UEFI function. Noting   
   that I never exit boot services.   
      
   That way I can continue to use my much more robust   
   80386 toolchain, without having to scavenge for a   
   PC that has an 8086 BIOS.   
      
   And I would expect that to have a fairly small amount   
   of "glue" assembler code to convert parameters from   
   32-bit to 64-bit, and noting that the pseudo-bios only   
   receives fopen/fread/fwrite/fseek/fclose requests, not   
   printf/fprintf etc. That's the way it works - no variable   
   arguments.   
      
   BFN. Paul.   
      
   --- 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