Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Get VBCC+VASM+VLINK to work?
Posted by: ggn Aug,16.2013-17:30 

Well, the disassembly of supexec() is:

movea.l 4(sp),a0
jmp (a0)

And inside the XBIOS handler code there's the following:

btst #$D,d0 ;d0 has SR value
bne.s super_on
move usp,sp
super_on:

Which sets SSP to USP if called from user mode. In practice in plain GEM/TOS the user stack pointer is roughly below the screen address, so more or less the whole available memory chunk. So IMHO it seems pretty safe to use :)

(No idea what's happening in MiNT or other OSes, perhaps some kernel hacker can shed some light there?)







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Get VBCC+VASM+VLINK to work? Sdw Aug,13.2013-00:22
  Re: Get VBCC+VASM+VLINK to work? Sdw Aug,13.2013-21:51
    Re: Get VBCC+VASM+VLINK to work? AdamK Aug,13.2013-22:28
      Re: Get VBCC+VASM+VLINK to work? PeP Aug,16.2013-07:59
    Re: Get VBCC+VASM+VLINK to work? Sdw Aug,13.2013-23:09
      Re: Get VBCC+VASM+VLINK to work? AdamK Aug,14.2013-06:59
        Re: Get VBCC+VASM+VLINK to work? Sdw Aug,14.2013-11:44
          Re: Get VBCC+VASM+VLINK to work? mikro Aug,14.2013-23:40
            Re: Get VBCC+VASM+VLINK to work? sqward Aug,16.2013-12:57
              Re: Get VBCC+VASM+VLINK to work? ggn Aug,16.2013-17:30
                Re: Get VBCC+VASM+VLINK to work? PeP Aug,19.2013-11:33
  Re: Get VBCC+VASM+VLINK to work? Orion_ Aug,14.2013-01:08
    Re: Get VBCC+VASM+VLINK to work? Sdw Aug,14.2013-11:45


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson