Difference between revisions of "83Plus:BCALLs:80CF"

From WikiTI
Jump to: navigation, search
 
m (flash must be unlocked.)
 
Line 18: Line 18:
  
 
== Comments ==
 
== Comments ==
This B_CALL writes the value in A to Port 23. The code is located on page 3Fh/7Fh.
+
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.
 
  <nowiki>SetFlashLowerBound:
 
  <nowiki>SetFlashLowerBound:
 
nop
 
nop

Latest revision as of 08:46, 8 April 2005

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