Commit f89f6fac authored by Stewart Brodie's avatar Stewart Brodie
Browse files

32-bit compatibility added.

Admin:
  Tested Phoebe & 32 machine builds.

Version 0.15. Tagged as 'ARM-0_15'
parent 552913fc
;
; This file is automatically maintained by srccommit, do not edit manually.
;
GBLS Module_MajorVersion
GBLA Module_Version
GBLS Module_MinorVersion
GBLS Module_Date
GBLS Module_FullVersion
Module_MajorVersion SETS "0.14"
Module_Version SETA 14
Module_MinorVersion SETS ""
Module_Date SETS "05 Aug 1999"
Module_FullVersion SETS "0.14"
GBLS Module_MajorVersion
GBLA Module_Version
GBLS Module_MinorVersion
GBLS Module_Date
GBLS Module_FullVersion
Module_MajorVersion SETS "0.15"
Module_Version SETA 15
Module_MinorVersion SETS ""
Module_Date SETS "13 Dec 1999"
Module_FullVersion SETS "0.15"
END
/* (0.14)
/* (0.15)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.14
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 05 Aug 1999
#define Module_MajorVersion_CMHG 0.15
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 13 Dec 1999
#define Module_MajorVersion "0.14"
#define Module_Version 14
#define Module_MinorVersion ""
#define Module_Date "05 Aug 1999"
#define Module_MajorVersion "0.15"
#define Module_Version 15
#define Module_MinorVersion ""
#define Module_Date "13 Dec 1999"
#define Module_FullVersion "0.14"
#define Module_FullVersion "0.15"
......@@ -38,6 +38,9 @@
|
DCD 0
]
[ :LNOT: No32bitCode
DCD Mod_Flags - Module_BaseAddr
]
;---------------------------------------------------------------------------
......@@ -118,13 +121,13 @@ Mod_UServTab
Mod_Service
MOV r0, r0
TEQ r1, #Service_ResourceFSStarting
MOVNES pc, lr
MOVNE pc, lr
Mod_UService
ENTRY "r0"
ADR r0, resourcefsfiles
MOV lr, pc
MOV pc, r2
EXITS
EXIT
] ;standalone
;---------------------------------------------------------------------------
......@@ -134,12 +137,10 @@ Mod_Die
ENTRY
LDR r12, [r12]
CMP r12, #0
Pull "pc",EQ,^
BL Mod_ShutDown
CMP r12, #0 ; clears V
BLNE Mod_ShutDown ; preserves flags
EXITS
EXIT
;---------------------------------------------------------------------------
; Mod_Shutdown
......@@ -149,7 +150,7 @@ Mod_Die
; Tidy up before dying.
;
Mod_ShutDown
ENTRY "r0,r2"
EntryS "r0,r2"
LDRB r0, flags ; Close the message file if it's open.
TST r0, #f_messagesopen
......@@ -164,6 +165,11 @@ Mod_ShutDown
EXITS ; Ignore errors, preserve flags.
[ :LNOT: No32bitCode
Mod_Flags
DCD 1 ; 32-bit compatible
]
;---------------------------------------------------------------------------
; Neil's debugging routines
;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment