mirror of
https://github.com/forth-ev/VolksForth.git
synced 2024-10-31 19:04:43 +00:00
Update x16tmpheap.fth to prototype #2 board's bank switching address
This commit is contained in:
parent
c6716dced5
commit
313b87d58d
@ -13,11 +13,10 @@ User tmpheap[
|
|||||||
User tmpheap>
|
User tmpheap>
|
||||||
User ]tmpheap
|
User ]tmpheap
|
||||||
|
|
||||||
\ $9f61 is the X16 RAM bank select register. This will change to $0001
|
\ $0000 is the X16 RAM bank select register.
|
||||||
\ in the next X16 board version.
|
|
||||||
\ 1 is the RAM bank selected for the tmpheap. RAM bank 0 is used by the
|
\ 1 is the RAM bank selected for the tmpheap. RAM bank 0 is used by the
|
||||||
\ X16 KERNAL. The banked RAM lives from $a000 to $bfff.
|
\ X16 KERNAL. The banked RAM lives from $a000 to $bfff.
|
||||||
1 $9f61 c! $a000 tmpheap[ ! $c000 dup ]tmpheap ! tmpheap> !
|
1 $0000 c! $a000 tmpheap[ ! $c000 dup ]tmpheap ! tmpheap> !
|
||||||
|
|
||||||
: tmp-hallot ( size -- addr )
|
: tmp-hallot ( size -- addr )
|
||||||
tmpheap> @ swap -
|
tmpheap> @ swap -
|
||||||
|
Loading…
Reference in New Issue
Block a user