Sinon, si c'est juste une erreur de transcription hexa - ascii, féchier de tout vérifier

Je regarde les handles et les vecteurs.
edit - hmmm, c'est pas le vecteur $30 qui pointe sur 82524F00 ??
;------------------------------------------------
; Check OS type
; TODO: Load a PedroM API in case of AMS ?
;------------------------------------------------
cmpi.w #$524F,$32 ; PedroM signature
beq.s PedroM
moveq.l #ERROR_OS_PEDROM,d7
pea StrErrorNotPedroM(pc)
BootFailed: ROMC ST_helpMsg
addq.l #4,sp
move.w d7,d0
rts
PedroM:
;------------------------------------------------
; Check OS version
;------------------------------------------------
cmpi.w #$0082,$30 ; Minimum version required
bcc.s VersionOk
moveq.l #ERROR_PEDROM_VERSION,d7
pea StrErrorPedroMVersion(pc)
bra.s BootFailed
Donald Knuth wrote:Beware of bugs in the above code; I have only proved it correct, not tried it.
Return to Délirium (autres discussions moins sérieuses)
Users browsing this forum: ClaudeBot [spider] and 8 guests