Mercurial > hg > Members > kono > nitros9-code
comparison level2/modules/kernel/fsrqmem.asm @ 2680:9498d2c8d36e lwtools-port
Change unsupported operator in lwasm
Switch >>8 to /256 due to >> not being supported by lwasm.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 10 Jun 2012 14:35:57 -0600 |
parents | 055c774cb633 |
children | 039ddb7c8ad7 |
comparison
equal
deleted
inserted
replaced
2679:8243b6c181b4 | 2680:9498d2c8d36e |
---|---|
77 * NOTE: Opt for CoCo/TC9 OS9 ONLY: skip last 256 - Bt.Start pages since | 77 * NOTE: Opt for CoCo/TC9 OS9 ONLY: skip last 256 - Bt.Start pages since |
78 * they are: Kernel (REL/BOOT/KRN - 17 pages), vector RAM & I/O (2 pages) | 78 * they are: Kernel (REL/BOOT/KRN - 17 pages), vector RAM & I/O (2 pages) |
79 * (Already permanently marked @ L01D2) | 79 * (Already permanently marked @ L01D2) |
80 * At the start, Y is pointing to the end of the SMAP table+1 | 80 * At the start, Y is pointing to the end of the SMAP table+1 |
81 ldx <D.SysMem Get start of table ptr | 81 ldx <D.SysMem Get start of table ptr |
82 leay Bt.Start>>8,x | 82 leay Bt.Start/256,x |
83 ldb #32 skip block 0: it's always full | 83 ldb #32 skip block 0: it's always full |
84 abx same size, but faster than leax $20,x | 84 abx same size, but faster than leax $20,x |
85 * leay -(256-(Bt.Start>>8)),y skip Kernel, Vector RAM & I/O (Can't be free) | 85 * leay -(256-(Bt.Start>>8)),y skip Kernel, Vector RAM & I/O (Can't be free) |
86 L0857 ldb R$A,u Get # 256 byte pages requested | 86 L0857 ldb R$A,u Get # 256 byte pages requested |
87 * Loop (from end of system mem map) to look for # continuous pages requested | 87 * Loop (from end of system mem map) to look for # continuous pages requested |