*** empty log message ***
This commit is contained in:
parent
004f017550
commit
48cc05ccf2
3 changed files with 8 additions and 10 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
! EM runtime start-off for the Bleasdale 68000 system
|
! EM runtime start-off for the Mantra 68000 system
|
||||||
|
|
||||||
|
|
||||||
LINO_AD = 0
|
LINO_AD = 0
|
||||||
|
@ -27,7 +27,7 @@ EBADGTO = 27
|
||||||
|
|
||||||
.sect .text
|
.sect .text
|
||||||
begtext:
|
begtext:
|
||||||
! Bleasdale puts the argument and environment vectors
|
! Mantra puts the argument and environment vectors
|
||||||
! themselves on top of the stack, instead of POINTERS
|
! themselves on top of the stack, instead of POINTERS
|
||||||
! to these vectors. We get things right here.
|
! to these vectors. We get things right here.
|
||||||
move.l 4(sp),a0
|
move.l 4(sp),a0
|
||||||
|
@ -53,7 +53,8 @@ begtext:
|
||||||
jsr _m_a_i_n
|
jsr _m_a_i_n
|
||||||
add #012,sp
|
add #012,sp
|
||||||
EXIT:
|
EXIT:
|
||||||
jsr __exit
|
move.l d0,-(sp)
|
||||||
|
jsr _exit
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
begdata:
|
begdata:
|
||||||
|
|
|
@ -35,12 +35,11 @@ ECASE = 20
|
||||||
.sect .text
|
.sect .text
|
||||||
begtext:
|
begtext:
|
||||||
add.l #2,sp !convert argc from 4-byte to 2-byte
|
add.l #2,sp !convert argc from 4-byte to 2-byte
|
||||||
pea endbss
|
|
||||||
jsr _brk
|
|
||||||
add.l #4,sp
|
|
||||||
jsr _m_a_i_n
|
jsr _m_a_i_n
|
||||||
add #010,sp
|
add #010,sp
|
||||||
EXIT:
|
EXIT:
|
||||||
|
move.w d0,-(sp)
|
||||||
|
jsr _exit
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
begdata:
|
begdata:
|
||||||
|
|
|
@ -34,14 +34,12 @@ ECASE = 20
|
||||||
|
|
||||||
.sect .text
|
.sect .text
|
||||||
begtext:
|
begtext:
|
||||||
pea endbss
|
|
||||||
jsr _brk
|
|
||||||
add.l #4,sp
|
|
||||||
jsr _m_a_i_n
|
jsr _m_a_i_n
|
||||||
add #012,sp
|
add #012,sp
|
||||||
EXIT:
|
EXIT:
|
||||||
|
|
||||||
jsr __exit
|
move.l d0,-(sp)
|
||||||
|
jsr _exit
|
||||||
! As a temporary measure
|
! As a temporary measure
|
||||||
jsr .trp
|
jsr .trp
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue