templeos-source / README.md
abr00kx's picture
TempleOS source with 480x640 portrait screen (part 3)
fafd5de verified
|
Raw History Blame Contribute Delete
927 Bytes
# TempleOS, 480x640 portrait
This is the TempleOS source (public domain, by Terry A. Davis) taken from the
`cia-foundation/TempleOS` mirror at commit `c26482b`, with the screen changed
from 640x480 to 480x640.
The VGA card still runs in 640x480 16-color mode 0x12. The OS rotates the
image 90 degrees on its way to the card, so the monitor has to be turned a
quarter turn clockwise. The text grid becomes 60 columns by 80 rows.
**Untested.** These changes have not been compiled or booted. The prebuilt
binaries in `0000Boot` are the original 640x480 build; the kernel has to be
recompiled inside TempleOS (`BootHDIns`) for the change to take effect.
Changed files: `Kernel/KernelA.HH`, `Kernel/Display.HC`, `Kernel/KMain.HC`,
`Kernel/KEnd.HC`, `Adam/Gr/GrScrn.HC`, `Adam/Gr/GrGlbls.HC`,
`Adam/Gr/GrInitB.HC`, `Adam/WallPaper.HC`, `Adam/Opt/Utils/MemRep.HC`, and
four demos under `Demo/` that write to VGA memory directly.