83Plus:BCALLs:80CF

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: SetFlashLowerBound

BCALL Address: 80CF

This B_CALL sets the lower flash page executution boundary.

Inputs

A=Value to write to Port 23. Interrupts should be disabled.

Outputs

None

Destroys

None

Comments

This B_CALL writes the value in A to Port 23. The code is located on page 3Fh/7Fh. Flash must be unlocked before calling this entry point.

SetFlashLowerBound:
nop
nop
im 1
di
out (23h),a
di
ret