There was a problem returning from long mode to real mode

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ccya
Posts: 2
Joined: Sun Feb 12, 2023 3:56 pm
Libera.chat IRC: ssensei

There was a problem returning from long mode to real mode

Post by ccya »

I'm not currently writing any drivers in 64-bit long mode, so I'm going to use the BIOS as a driver, but I'm experiencing a triple glitch and return address error when returning 16-bit real mode from 64-bit long mode

Code I referencedviewtopic.php?f=1&t=23125


》I am from China and use translators to communicate
Last edited by ccya on Thu Jul 27, 2023 5:58 pm, edited 2 times in total.
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: There was a problem returning from long mode to real mod

Post by Octocontrabass »

ccya wrote:I'm going to use the BIOS as a driver
This does not work with UEFI.
ccya wrote:I'm experiencing a triple glitch and return address error when returning 16-bit real mode from 64-bit long mode
Where? Which exception? Are you using a virtual machine?
Post Reply