Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Prototype designs always work. -- Don Vonada


devel / comp.sys.apple2.programmer / Re: Vertical Blank on Apple ][+

SubjectAuthor
* Re: Vertical Blank on Apple ][+Michael Pohoreski
`* Re: Vertical Blank on Apple ][+I am Rob
 `- Re: Vertical Blank on Apple ][+mmphosis

1
Re: Vertical Blank on Apple ][+

<5de2aa09-99d0-4494-92f6-af0c8eb5b661n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ad4:48c3:0:b0:5c3:11b6:a112 with SMTP id v3-20020ad448c3000000b005c311b6a112mr96381qvx.2.1679414350816;
Tue, 21 Mar 2023 08:59:10 -0700 (PDT)
X-Received: by 2002:a05:6902:1249:b0:b6e:b924:b967 with SMTP id
t9-20020a056902124900b00b6eb924b967mr1901052ybu.8.1679414350461; Tue, 21 Mar
2023 08:59:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Tue, 21 Mar 2023 08:59:10 -0700 (PDT)
In-Reply-To: <abfb3e30-38c6-4b10-ad15-736da0019347n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:c67f:5fc0:615d:686d:7401:392;
posting-account=9Dd-GgoAAAAjVgCPcBurQ6c4EXW6Wi8v
NNTP-Posting-Host: 2601:600:c67f:5fc0:615d:686d:7401:392
References: <4b75fac1-2004-4e0b-b9e2-5dd131af84b5@googlegroups.com>
<667f7f7b-7e6e-4c79-901f-d270e3da70b9@googlegroups.com> <666b425f-a539-4969-95fa-16ea1fcd5958@googlegroups.com>
<ca6b32f3-6558-4fd0-96bd-b7b17adf6fc9@googlegroups.com> <abfb3e30-38c6-4b10-ad15-736da0019347n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5de2aa09-99d0-4494-92f6-af0c8eb5b661n@googlegroups.com>
Subject: Re: Vertical Blank on Apple ][+
From: michael....@gmail.com (Michael Pohoreski)
Injection-Date: Tue, 21 Mar 2023 15:59:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2607
 by: Michael Pohoreski - Tue, 21 Mar 2023 15:59 UTC

On Thursday, March 16, 2023 at 3:35:50 AM UTC-7, Dave Kay wrote:
> I know this conversation was while back now, but thought I'd jump in. When I was young back in the 80's I had an Apple //c (came with the mouse card or similar). I remember experimenting with the VBI back then and managed to get a mouse pointer the size of the original Mac arrow pointer (copied from studying magazines at the time) to move when I moved the mouse on a hi-res screen.

Nice!

> It was super cool to have this code "running in the background".
Yup, one can do all sorts of neat stuff if/when you have a proper Vertical Blanking Interrupt.

> I couldn't get anything more than a around 2 bytes x 14 pixels (or so). My ASM wasn't the most efficient though, so I'm sure guys here could get a bit more out of it. I do remember using lookup tables to draw to the screen though. Wish we had access to the internet back then. I had to rely on the odd magazine like Softtalk to help me out....

Fantavision also has a 10x14 px mouse cursor. I should RE/rip that mouse display graphics code someday ...

Michael.

Re: Vertical Blank on Apple ][+

<40114942-aba8-4dcf-9e9d-512433527af1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:620a:22ce:b0:746:7857:d28b with SMTP id o14-20020a05620a22ce00b007467857d28bmr286541qki.14.1679437940183;
Tue, 21 Mar 2023 15:32:20 -0700 (PDT)
X-Received: by 2002:a81:ae60:0:b0:545:611c:8d19 with SMTP id
g32-20020a81ae60000000b00545611c8d19mr484234ywk.4.1679437939984; Tue, 21 Mar
2023 15:32:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Tue, 21 Mar 2023 15:32:19 -0700 (PDT)
In-Reply-To: <5de2aa09-99d0-4494-92f6-af0c8eb5b661n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=207.195.86.7; posting-account=U4TNXwoAAABP4nIJHynAJZ69O_f3LY2g
NNTP-Posting-Host: 207.195.86.7
References: <4b75fac1-2004-4e0b-b9e2-5dd131af84b5@googlegroups.com>
<667f7f7b-7e6e-4c79-901f-d270e3da70b9@googlegroups.com> <666b425f-a539-4969-95fa-16ea1fcd5958@googlegroups.com>
<ca6b32f3-6558-4fd0-96bd-b7b17adf6fc9@googlegroups.com> <abfb3e30-38c6-4b10-ad15-736da0019347n@googlegroups.com>
<5de2aa09-99d0-4494-92f6-af0c8eb5b661n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <40114942-aba8-4dcf-9e9d-512433527af1n@googlegroups.com>
Subject: Re: Vertical Blank on Apple ][+
From: gids...@sasktel.net (I am Rob)
Injection-Date: Tue, 21 Mar 2023 22:32:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3659
 by: I am Rob - Tue, 21 Mar 2023 22:32 UTC

> > I know this conversation was while back now, but thought I'd jump in. When I was young back in the 80's I had an Apple //c (came with the mouse card or similar). I remember experimenting with the VBI back then and managed to get a mouse pointer the size of the original Mac arrow pointer (copied from studying magazines at the time) to move when I moved the mouse on a hi-res screen.

> Nice!
> > It was super cool to have this code "running in the background".
> Yup, one can do all sorts of neat stuff if/when you have a proper Vertical Blanking Interrupt.
> > I couldn't get anything more than a around 2 bytes x 14 pixels (or so). My ASM wasn't the most efficient though, so I'm sure guys here could get a bit more out of it. I do remember using lookup tables to draw to the screen though. Wish we had access to the internet back then. I had to rely on the odd magazine like Softtalk to help me out....
> Fantavision also has a 10x14 px mouse cursor. I should RE/rip that mouse display graphics code someday ...

I use the 4-byte wide color cursor in dbl-hi-res mode. it's big but it gets the job done.

> For example :
>
> $2000 : BD BD BD BD BD BD BD BD BD BD BD BD BD BD BD BD
> $2010 : BD BD BD BD BD BD BD BD BD BD BD BD BD BD BD BD
>
> Waiting Routine :
>
> TOP_SCREEN LDA $C070
> CMP $#BD
> BNE TOOP_SCREEN
>
> You need several pattern because the LDA / CMP /BNE takes few cycles and you can miss the BD. With sevral ones, you will catch it without any doubt.
>

I still have questions regarding the sync bytes and vbl.
Does this work on both hi-res screens?

And on a IIe with the $C019 soft switch, Instead of racing the beam (or staying ahead of the refresh), isn't it better to start drawing when the beam is finished refreshing and is at the bottom of the screen, about to go up, and start drawing to the screen then. Doesn't this do the same thing but offers a little more time to draw to the screen before the screen gets updated on the next time around? This surely would allow the computer instructions to stay ahead of the next refresh cycle.

Re: Vertical Blank on Apple ][+

<mmphosis-1679581990@macgui.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.apple2.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: mmpho...@macgui.com (mmphosis)
Newsgroups: comp.sys.apple2.programmer
Subject: Re: Vertical Blank on Apple ][+
Date: Thu, 23 Mar 2023 14:33:12 -0000 (UTC)
Organization: Mac GUI
Lines: 25
Message-ID: <mmphosis-1679581990@macgui.com>
References: <4b75fac1-2004-4e0b-b9e2-5dd131af84b5@googlegroups.com> <40114942-aba8-4dcf-9e9d-512433527af1n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 23 Mar 2023 14:33:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e722e27685f37838e7ca2e68435e3b6d";
logging-data="1254122"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q1CG1Q1l3BndqEuHAJoEZ"
User-Agent: Mac GUI Usenet
Cancel-Lock: sha1:L0XxHURod7heL4g2RWUjlkzDhr4=
In-Reply-To: <40114942-aba8-4dcf-9e9d-512433527af1n@googlegroups.com>
 by: mmphosis - Thu, 23 Mar 2023 14:33 UTC

> Does this work on both hi-res screens?

For HGR2, change the $2000 addresses to $4000 addresses and BIT $C055 before
the wait routine.

> And on a IIe with the $C019 soft switch, Instead of racing the beam (or
> staying ahead of the refresh), isn't it better to start drawing when the
> beam is finished refreshing and is at the bottom of the screen, about to
> go
> up, and start drawing to the screen then. Doesn't this do the same thing
> but offers a little more time to draw to the screen before the screen gets
> updated on the next time around?

Timing is everything and is fraught with peril.

http://www.deater.net/weave/vmwprod/megademo/cycle_switching.html

https://rich12345.tripod.com/aiivideo/softalk.html

https://web.archive.org/web/20150706084550/http://hoop-la.ca/apple2/2015/winterwarmup/

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor