| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Coding for IIgs 2 - working on screen memory |
On 25 d=E9c, 04:38, lyricalnanoha
wrote:
> Ouch. =A0Got wedged trying to pull this off, perhaps I'm interpreting the
> hardware wrong. =A0Looks like it's trying to write in bank 0 instead of b=
ank
> 1. =A0(I'm using the //e way to access bank 1, according to the docs I ha=
ve,
> rather than trying to go '816 and do it that way, as I don't yet
> understand 65816 mode.)
>
> The way I *wrote* the code, I meant it to leave ][+ space readable while
> making //e space writable. =A0(It doesn't seem to have done that.) =A0Whe=
ther
> I .org this high or low, it still gets wedged. =A0(There's nothing
> IIgs-dependent about the code beyond the C029 thing.)
Note that the official IIgs screen location is at bank $E1. Writing to
bank $01 (fast RAM) is great but once you master the shadowing
process.
If I were you (and God knows I was a long long time ago), I would
avoid writing standard II code on a IIgs, the IIgs is a fun machine
and its 16-bit processor, though simple, is easy to understand.
By the way, at least, use ProDOS instead of DOS 3.3.
>
> I'm trying to create a memory environment conducive to plotting pixels in
> 320x200x16 mode. =A0The palette approximates EGA.
>
> -uso.
>
> setty: =A0 =A0lda =A0 =A0 =A0 $C029
> =A0 =A0 =A0 =A0 =A0 =A0ora =A0 =A0 =A0 #$80
> =A0 =A0 =A0 =A0 =A0 =A0sta =A0 =A0 =A0 $C029
When you are ready to go for IIgs coding, use TSB.
> =A0 =A0 =A0 =A0 =A0 =A0bne =A0 =A0 =A0 {at}1
> =A0 =A0 =A0 =A0 =A0 =A0bne =A0 =A0 =A0 {at}2
Replace with BPL
As already said by Charlie, the $C004/$C005 softswitches require a STA
not a BIT.
Good luck and Merry Christmas,
Antoine
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303 SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119 SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700 SEEN-BY: 2320/100 105 200 2905/0 @PATH: 2320/0 100 261/38 633/260 267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.