Mail Archives: djgpp/1997/09/04/19:19:05
Ying Qin <yqin AT ece DOT uci DOT edu> wrote:
<snip>
> BTW, can anyone tell me how to use far jmp to jump to specific
> address(selector:offset) in inline assembly? Thx.
Take a look at the info libc.a docs. The functions (yes, you have to use
functions, there's no such thing as a 'far jmp' in DJGPP) you are looking
for are __dpmi_simulate_real_mode_procedure_retf() (if the function there
returns with a 'far ret') and __dpmi_simulate_real_mode_procedure_iret() (if
the function returns with an 'iret'... useful for conditional chaining).
--
[- firewind -]
[- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -]
[- "You're just jealous because the voices talk to -me-." -]
- Raw text -