{{htmlmetatags>metatag-robots=() metatag-title=(BANK ADDRESS | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for BANK ADDRESS) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(BANK ADDRESS | ugBASIC User Manual) metatag-og:description=(Manual page for BANK ADDRESS) }} ====== ugBASIC User Manual ====== ===== BANK ADDRESS ✓ ===== ===== SYNTAX ===== = BANK ADDRESS( #bank ) = BANK ADDRESS( bank ) ==== PURPOSE ==== The ''BANK ADDRESS'' function returns the resident memory address of the shared memory area for the bank, that is the memory area reachable by the CPU and on which it is "mapped" to the main memory. If you want to copy data from any expanded bank or to the expanded bank, this is the starting address. ==== EXAMPLE ==== POKE BANK ADDRESS( 2 ), 42 See also the following example files: * ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/expansion_bank_01.bas|expansion_bank_01.bas]]'' * ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/expansion_bank_02.bas|expansion_bank_02.bas]]'' ==== ABBREVIATION ==== Bk A# ==== AVAILABLE ON ==== * * Commodore 64 * Olivetti Prodest PC128 ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON BANK ADDRESS|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]