Subversion Repositories Spectranet

[/] [trunk/] [rom/] [utilnmi.asm] - Diff between revs 282 and 288

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 282 Rev 288
Line 96... Line 96...
 
 
;---------------------------------------------------------------------
;---------------------------------------------------------------------
; F_config
; F_config
; Invokes the configuration program
; Invokes the configuration program
F_config
F_config
        call CLEAR42
        ld hl, 0xFE00           ; module FE (configuration) call 0x00
        ld hl, CONFIGUTIL_START ; start of the configuration utility
        rst MODULECALL_NOPAGE
        ld de, 0x3000           ; start of fixed RAM page
 
        ld bc, CONFIGUTIL_END-CONFIGUTIL_START
 
        ldir                    ; copy utility to RAM
 
        call 0x3000             ; call it
 
        or 1                    ; reset Z
 
        ret
        ret
 
 
;-----------------------------------------------------------------------
;-----------------------------------------------------------------------
; F_rom
; F_rom
; Invokes the ROM module utility. This is stored in page 0x01 of flash
; Invokes the ROM module utility. This is stored in page 0x01 of flash