Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » POKE commands that change text color?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
POKE commands that change text color? [message #347382] Fri, 30 June 2017 20:05 Go to next message
Anonymous
Karma:
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
POKE commands that change text color? [message #347385 is a reply to message #347382] Fri, 30 June 2017 21:34 Go to previous messageGo to next message
Michael AppleWin Debu is currently offline  Michael AppleWin Debu
Messages: 1262
Registered: March 2013
Karma: 0
Senior Member
Colorized text in text mode is NOT possible on the the Apple 2. The only supported modes are: Normal, Flashing, and Inverse.
Text is always monochrome on the Apple 2 unless you're viewing the 4-line mixed HGR / Text mode, where it has the green/purple fringes.

This may be a dumb question but "Are you _sure_ you have the right machine?"

Taking a quick look at the 8-bit computer palettes ...
https://en.wikipedia.org/wiki/List_of_8-bit_computer_hardwar e_palettes

.... I can't find any machine were 8 is black.


> 2 was blue and ,8 was black

On the Apple 2 its Lo-Res GR color 2 is blue, but 8 is brown.
https://cloud.githubusercontent.com/assets/7876796/12283851/ 853441b4-b95f-11e5-9173-39e677efb539.png

GR
COLOR=2:PLOT 1,1
COLOR=8:PLOT 2,2

Now one could _fake_ colorized text via the HGR screen but scrolling would be obvious it is HGR and not a real text mode. I don't believe it would survive a (warm) reboot though.

The IBM PC had its text buffer at B800:0 and you could poke that with GWBASIC. Maybe you are thinking of that?

The plot thickens ...
Re: POKE commands that change text color? [message #347391 is a reply to message #347382] Fri, 30 June 2017 22:51 Go to previous messageGo to next message
Anthony Lawther is currently offline  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 Go to previous messageGo to next message
Anonymous
Karma:
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 Go to previous messageGo to next message
Anonymous
Karma:
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 Go to previous message
Anonymous
Karma:
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)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: The Last Jedi trailer made entirely on a 1984 Apple IIc
Next Topic: WiFi232 – An Internet Hayes Modem for your Retro Computer
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun May 12 14:27:53 EDT 2024

Total time taken to generate the page: 0.02395 seconds