POKE commands that change text color? [message #347382] |
Fri, 30 June 2017 20:05 |
|
Originally posted by: Matthew Power
I KNOW this can be done, because I used to do it on my Apple IIe clone at home, and on all of the Apple IIes in my junior high school. Those with color monitors of course. But I have not been able to find it since I got back into the Apple II recently. I had this book, it was very thick, with a white cover (paperback) and it had green text on the cover that I think said, "Apple II Machine Language".
In the back of the book, there were all of these POKE commands that I used to use to scare my teachers. I could change the screen output (text) like this:
POKE
something, 0
something, 1
something, 2
something, 3
something, 4
,8
,9
etc...
The ,x determined what color the IIe outputted text in. I think ,2 was blue and ,8 was black? It's been 30 years, and I've never found this again...
How did I scare my teachers? I used to use POKE something,something to turn the text black. So even on reboot the Apple IIe would boot with black text, and the screen would be blank. Hit ctrl-reset, type in the POKE something,x (choose a color) and restore the text. I can't remember exactly if this POKE command,x stayed during a power-off and reboot, but I think it might have.
Does anyone remember this? Or maybe that white and green thick book Apple II Machine Language?
Matt
|
|
|
|
Re: POKE commands that change text color? [message #347391 is a reply to message #347382] |
Fri, 30 June 2017 22:51 |
Anthony Lawther
Messages: 62 Registered: May 2013
Karma: 0
|
Member |
|
|
Matthew Power <matthewmpower@gmail.com> wrote:
> I KNOW this can be done, because I used to do it on my Apple IIe clone at
> home, and on all of the Apple IIes in my junior high school. Those with
> color monitors of course. But I have not been able to find it since I got
> back into the Apple II recently. I had this book, it was very thick, with
> a white cover (paperback) and it had green text on the cover that I think
> said, "Apple II Machine Language".
>
> In the back of the book, there were all of these POKE commands that I
> used to use to scare my teachers. I could change the screen output (text) like this:
>
> POKE
>
> something, 0
> something, 1
> something, 2
> something, 3
> something, 4
>
> ,8
> ,9
>
> etc...
>
> The ,x determined what color the IIe outputted text in. I think ,2 was
> blue and ,8 was black? It's been 30 years, and I've never found this again...
>
> How did I scare my teachers? I used to use POKE something,something to
> turn the text black. So even on reboot the Apple IIe would boot with
> black text, and the screen would be blank. Hit ctrl-reset, type in the
> POKE something,x (choose a color) and restore the text. I can't remember
> exactly if this POKE command,x stayed during a power-off and reboot, but
> I think it might have.
>
> Does anyone remember this? Or maybe that white and green thick book Apple
> II Machine Language?
>
> Matt
>
Ile or IIgs?
Text colour control via POKE is only available on the IIgs unless I'm
mistaken.
|
|
|
Re: POKE commands that change text color? [message #347401 is a reply to message #347391] |
Sat, 01 July 2017 09:15 |
|
Originally posted by: Brian Patrie
On 2017-06-30 21:51, Anthony Lawther wrote:
> Text colour control via POKE is only available on the IIgs unless I'm
> mistaken.
The IIe RGB card can display multi-coloured 40-column text, using auxmem
for the colour bytes. IIRC, it involves setting 80STORE, and PAGE2,
whilst in 40-col mode. It's not of much value, as it's the only
configuration that can do it.
|
|
|
Re: POKE commands that change text color? [message #347405 is a reply to message #347382] |
Sat, 01 July 2017 11:42 |
|
Originally posted by: fadden
On Friday, June 30, 2017 at 5:05:39 PM UTC-7, Matthew Power wrote:
> I KNOW this can be done, because I used to do it on my Apple IIe clone at home, and on all of the Apple IIes in my junior high school.
FWIW, on the IIgs it's location $c022.
Apple IIgs tech note #63 lists the colors. #2 is dark blue.
|
|
|
Re: POKE commands that change text color? [message #347410 is a reply to message #347382] |
Sat, 01 July 2017 15:46 |
|
Originally posted by: Matthew Power
> This may be a dumb question but "Are you _sure_ you have the right machine?"
I do believe so.... I found a couple books with "apple machine language" on the internet and I ordered them.
I can't remember what the colors/values were exactly but it was like POKE xxxxx,1 ,2 ,3 etc...
> The plot thickens ...
hahahaha yup... Hopefully those books have what I'm remembering (perhaps somewhat incorrectly)
|
|
|