Difference between revisions of "83Plus:BCALLs:4C45"

From WikiTI
Jump to: navigation, search
m (Changed official name and destroys none)
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[Category:83Plus:BCALLs:By Name:Utterly Useless|GetCurrentPageSub]] [[Category:83Plus:BCALLs:By Name|GetCurrentPageSub]] [[Category:83Plus:BCALLs:By Address|4C45 - GetCurrentPageSub]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' GetCurrentPageSub
 
'''Official Name:''' GetCurrentPageSub
Line 6: Line 7:
 
'''BCALL Address:''' 4C45
 
'''BCALL Address:''' 4C45
  
Returns the flash page in the 4000-7CCC slot.
+
Returns the flash page in the 4000-7FFF slot.
  
 
=== Inputs ===
 
=== Inputs ===
Line 12: Line 13:
  
 
=== Outputs ===
 
=== Outputs ===
* A: the flash page in the 4000-7CCC slot
+
* A: the flash page in the 4000-7FFF slot
  
 
=== Destroys ===
 
=== Destroys ===
Line 18: Line 19:
  
 
== Comments ==
 
== Comments ==
A faster way to do this is using the following code:
+
A faster and equivalent way to do this is using the following code:
 
  in a,(06)
 
  in a,(06)
  
 
== Credits and Contributions ==
 
== Credits and Contributions ==
 
* '''Michael Vincent:''' For discovering this B_CALL.
 
* '''Michael Vincent:''' For discovering this B_CALL.

Latest revision as of 21:37, 29 March 2005

Synopsis

Official Name: GetCurrentPageSub

Other Name: GetRomPage

BCALL Address: 4C45

Returns the flash page in the 4000-7FFF slot.

Inputs

None

Outputs

  • A: the flash page in the 4000-7FFF slot

Destroys

None

Comments

A faster and equivalent way to do this is using the following code:

in a,(06)

Credits and Contributions

  • Michael Vincent: For discovering this B_CALL.