Subversion Repositories Spectranet

[/] [trunk/] [asmsnippets/] [getver.asm] - Rev 570

Go to most recent revision | Compare with Previous | Blame | View Log

; Gets the Spectranet version from ROM.
.include        "spectranet.inc"
.text
        ld hl, 0xFA02           ; module FA call 02
        call MODULECALL
        jr c, .nocall           ; call doesn't exist
        ret                     ; version number in BC  

.nocall:
        ld bc, 0
        ret

Go to most recent revision | Compare with Previous | Blame | View Log