Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

A penny saved is a penny to squander. -- Ambrose Bierce


computers / comp.sys.apple2 / Porting AppleWorks to a hypothetical V9938 card?

SubjectAuthor
* Porting AppleWorks to a hypothetical V9938 card?Steve Nickolas
`- Re: Porting AppleWorks to a hypothetical V9938 card?Steve Nickolas

1
Porting AppleWorks to a hypothetical V9938 card?

<alpine.DEB.2.21.2403212101020.12835@sd-119843.dedibox.fr>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=6704&group=comp.sys.apple2#6704

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.sys.apple2
Subject: Porting AppleWorks to a hypothetical V9938 card?
Date: Thu, 21 Mar 2024 21:14:20 -0400
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <alpine.DEB.2.21.2403212101020.12835@sd-119843.dedibox.fr>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: dont-email.me; posting-host="bb4998512c2510c4e5b56f5040bb1194";
logging-data="2673225"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191/o3ZFqLc40pCnZdP0Y6t8r2HEtDC2go="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:RX3ra3cFNNQg5/7fyIxhWxxKZcg=
X-X-Sender: mary@sd-119843.dedibox.fr
 by: Steve Nickolas - Fri, 22 Mar 2024 01:14 UTC

So I've been working with the hypothetical "V9938 EZCGI" emulated in MAME
(-sl5 ezcgi9938), and it got me to thinking about the possibility of
hijacking the AppleWorks startup, much as with the VideoTerm, to make a
version that runs off the V9938 to use *its* 80x24 text mode, instead of
that of an 80-column card.

Obviously we know the VideoTerm was able to be used this way - and I
understand the code in question is located in APLWORKS.SYSTEM, so it's
going to be very much version-specific any way one cuts it.
Pragmatically, 2.1 is the latest version I'm willing to hack on. The
closest thing I have to documentation is an article in Apple Assembly
Line, but it's kind-of hazy, so I've been trying to reverse-engineer the
same 1.3 they worked from to try to come to a more complete understanding.
Theoretically, I can't imagine it requiring too much change - just new
pre-init code to set up the V9938 (which I have written and tested) and
a way to replace "place this value at this screen coordinate" with a 9938
equivalent?

-uso.

Re: Porting AppleWorks to a hypothetical V9938 card?

<alpine.DEB.2.21.2403220453410.22086@sd-119843.dedibox.fr>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=6706&group=comp.sys.apple2#6706

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: usotsuki@buric.co (Steve Nickolas)
Newsgroups: comp.sys.apple2
Subject: Re: Porting AppleWorks to a hypothetical V9938 card?
Date: Fri, 22 Mar 2024 05:07:05 -0400
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <alpine.DEB.2.21.2403220453410.22086@sd-119843.dedibox.fr>
References: <alpine.DEB.2.21.2403212101020.12835@sd-119843.dedibox.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: dont-email.me; posting-host="bb4998512c2510c4e5b56f5040bb1194";
logging-data="2984591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HU6XJ/F76Q2SzMXASB0aMu+zByI2IQvE="
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
Cancel-Lock: sha1:6wZyuCQbaU5wFxCuVs6HJYIspAs=
In-Reply-To: <alpine.DEB.2.21.2403212101020.12835@sd-119843.dedibox.fr>
X-X-Sender: mary@sd-119843.dedibox.fr
 by: Steve Nickolas - Fri, 22 Mar 2024 09:07 UTC

First stage:

I've drafted up replacements for two functions, BASCALC (1717 in v1.3) and
CLREOL (173A in v1.3). Two more functions, SCROLL (15CA in v1.3) and
SCRLLR (unknown location, connected to the function at 165E in v1.3) would
need to be written and crammed into the original space, and the JSR $C300
(235D in v1.3) routed to additional code at the end of APLWORKS.SYSTEM
that would initialize the V9938.

The code is untested, because patching in the replacements kind-of has to
be all or nothing. I think I can try to make a "universal" patcher that
can cover 1.0-2.1 and a V9938/V9958 in any slot (provided that the slot is
known at patch time, as without a ROM there's no safe way to identify it).

If it were up to me, I think I'd add a ROM with console drivers and a font
in the C800-CBFF space. Unfortunately, it's not...

-uso.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor