Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and appears to be fixed. Will keep monitoring.


computers / comp.sys.apple2 / Flash the whole screen?

SubjectAuthor
* Flash the whole screen?Brandon Taylor
+- Re: Flash the whole screen?qkumba
+- Re: Flash the whole screen?Scott Alfter
`- Re: Flash the whole screen?Michael 'AppleWin Debugger Dev'

1
Flash the whole screen?

<6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3549&group=comp.sys.apple2#3549

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ac8:5f86:: with SMTP id j6mr4648171qta.227.1626192790010; Tue, 13 Jul 2021 09:13:10 -0700 (PDT)
X-Received: by 2002:a9d:1b41:: with SMTP id l59mr4389207otl.8.1626192789584; Tue, 13 Jul 2021 09:13:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 13 Jul 2021 09:13:09 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=24.32.15.166; posting-account=M6ivXQoAAADVjzVU9dccMRupANLb9Ed-
NNTP-Posting-Host: 24.32.15.166
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>
Subject: Flash the whole screen?
From: br.ta.2...@gmail.com (Brandon Taylor)
Injection-Date: Tue, 13 Jul 2021 16:13:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 13
 by: Brandon Taylor - Tue, 13 Jul 2021 16:13 UTC

I'm familiar with three commands in Applesoft BASIC which let you manipulate the way text gets displayed on the screen. There's INVERSE, which prints black text on a white background; FLASH, which basically just does what it says on the tin; and finally NORMAL, which cancels both of the above commands. But my question is, how do you set the entire SCREEN to INVERSE, FLASH or NORMAL? I know it will go to INVERSE at the end of a game of "The Match Machine" which can be found on "The Shell Games" disk; but I don't know is how that little effect was accomplished. The reason I'm asking is I'm in the process of writing a game in Applesoft BASIC which, ideally, will set the entire screen to FLASH, or at least INVERSE if FLASH is not possible.

In case you need a refresher, I have the entire program listing of "The Match Machine" game here. https://mega.nz/file/woMUwJDT#LhO4jjSpjJ3Ei5z-0__HBeLHvMpGcZAGpPdv2iyrJII

Re: Flash the whole screen?

<686541c1-7bdf-4266-93ea-c44ee1470870n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3550&group=comp.sys.apple2#3550

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a0c:ff01:: with SMTP id w1mr5735038qvt.28.1626194364654;
Tue, 13 Jul 2021 09:39:24 -0700 (PDT)
X-Received: by 2002:aca:3285:: with SMTP id y127mr3848061oiy.115.1626194364305;
Tue, 13 Jul 2021 09:39:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 13 Jul 2021 09:39:24 -0700 (PDT)
In-Reply-To: <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:8001:7300:56d5:bd33:e010:3491:a94c;
posting-account=bGpciwoAAACg2KT8pQMph7tnt3o_9vtu
NNTP-Posting-Host: 2603:8001:7300:56d5:bd33:e010:3491:a94c
References: <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <686541c1-7bdf-4266-93ea-c44ee1470870n@googlegroups.com>
Subject: Re: Flash the whole screen?
From: peter.fe...@gmail.com (qkumba)
Injection-Date: Tue, 13 Jul 2021 16:39:24 +0000
Content-Type: text/plain; charset="UTF-8"
 by: qkumba - Tue, 13 Jul 2021 16:39 UTC

If the alternative character set is active, then full-screen INVERSE can be achieved by POKE 50,0 and then HOME.
Otherwise, you're left to printing the characters yourself, for both FLASH and INVERSE.
Here's one way:
HOME
POKE 48,mode (where mode=96 for FLASH, 32 for INVERSE)
FOR Y = 1 TO 47 STEP 2: HLIN 0,39 AT Y: NEXT

Re: Flash the whole screen?

<tFoHI.14466$UR4.9744@fx37.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3556&group=comp.sys.apple2#3556

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news-out.netnews.com!news.alt.net!fdc3.netnews.com!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx37.iad.POSTED!not-for-mail
Newsgroups: comp.sys.apple2
Subject: Re: Flash the whole screen?
References: <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>
From: sco...@alfter.diespammersdie.us (Scott Alfter)
Organization: USS Voyager NCC-74656, Delta Quadrant
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: salfter@invalid.tld (Scott Alfter)
Lines: 28
Message-ID: <tFoHI.14466$UR4.9744@fx37.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 13 Jul 2021 22:42:33 UTC
Date: Tue, 13 Jul 2021 22:42:33 GMT
X-Received-Bytes: 2213
 by: Scott Alfter - Tue, 13 Jul 2021 22:42 UTC

In article <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>,
Brandon Taylor <br.ta.2818@gmail.com> wrote:
>I'm familiar with three commands in Applesoft BASIC which let you
>manipulate the way text gets displayed on the screen. There's INVERSE,
>which prints black text on a white background; FLASH, which basically
>just does what it says on the tin; and finally NORMAL, which cancels
>both of the above commands. But my question is, how do you set the
>entire SCREEN to INVERSE, FLASH or NORMAL? I know it will go to INVERSE
>at the end of a game of "The Match Machine" which can be found on "The
>Shell Games" disk; but I don't know is how that little effect was
>accomplished. The reason I'm asking is I'm in the process of writing a
>game in Applesoft BASIC which, ideally, will set the entire screen to
>FLASH, or at least INVERSE if FLASH is not possible.

A possibly naive approach to setting the whole screen flashing:

10 FLASH: HOME: FOR I=1 TO 23: PRINT " ";: NEXT I: PRINT " ";: POKE 2039,96
20 VTAB 1: HTAB 1: PRINT "THIS IS A TEST"

The first block of spaces has 40; the second has 39. Printing the very last
space would scroll a normal line into view, so it's POKEd to the framebuffer
instead. Speedwise, it's not half bad.

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?

Re: Flash the whole screen?

<b4a57711-5799-47ba-868a-84ea26e33bb0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3607&group=comp.sys.apple2#3607

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ad4:558d:: with SMTP id e13mr6585380qvx.55.1629253990063; Tue, 17 Aug 2021 19:33:10 -0700 (PDT)
X-Received: by 2002:a05:620a:d4d:: with SMTP id o13mr7234013qkl.466.1629253989825; Tue, 17 Aug 2021 19:33:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 17 Aug 2021 19:33:09 -0700 (PDT)
In-Reply-To: <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:c500:84f0:8c34:96a6:3120:2119; posting-account=9Dd-GgoAAAAjVgCPcBurQ6c4EXW6Wi8v
NNTP-Posting-Host: 2601:600:c500:84f0:8c34:96a6:3120:2119
References: <6cf25169-929e-4363-81f8-f9f72f69499en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b4a57711-5799-47ba-868a-84ea26e33bb0n@googlegroups.com>
Subject: Re: Flash the whole screen?
From: michael....@gmail.com (Michael 'AppleWin Debugger Dev')
Injection-Date: Wed, 18 Aug 2021 02:33:10 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
 by: Michael 'AppleW - Wed, 18 Aug 2021 02:33 UTC

On Tuesday, July 13, 2021 at 9:13:11 AM UTC-7,
> But my question is, how do you set the entire SCREEN to INVERSE, FLASH or NORMAL?

Here is a small machine language program that will **non-destructively** change set a 40-column screen to normal, inverse, or flash depending on the current mode. Included is a small demo to demonstrate usage.

CALL-151
300:A5 32 29 C0 4A 4A 4A A8 A2 00 BD 00 04 20 57 03
310:9D 00 04 BD 80 04 20 57 03 9D 80 04 BD 00 05 20
320:57 03 9D 00 05 BD 80 05 20 57 03 9D 80 05 BD 00
330:06 20 57 03 9D 00 06 BD 80 06 20 57 03 9D 80 06
340:BD 00 07 20 57 03 9D 00 07 BD 80 07 20 57 03 9D
350:80 07 E8 E0 78 D0 B3 84 FF 48 4A 4A 4A 4A 4A 18
360:65 FF A8 68 59 6A 03 A4 FF 60 00 00 40 40 80 80
370:C0 00 40 40 00 00 C0 C0 80 00 00 00 00 00 00 00
380:00 00 C0 80 80 C0 00 00 00 00
E000G
1 TEXT:HOME:VTAB 10:GOTO 10
2 FOR Y=0 TO 7:FOR C=0 TO 31:POKE 1024 + 128*Y+C,C + 32*Y:NEXT:NEXT:RETURN:REM ASCII TABLE
3 GET A$:CALL 768:? "PRESS RETURN TO CONT":GET A$:NORMAL:CALL 768:RETURN
10 GOSUB 2:INVERSE:? "PRESS RETURN FOR INVERSE":GOSUB 3
20 GOSUB 2:FLASH:? "PRESS RETURN FOR FLASH":GOSUB 3
30 GOSUB 2:NORMAL:? "PRESS RETURN FOR NORMAL":GOSUB 3
RUN

I can post the source if anyone is interested.

m.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor