64k ought to be enough - a demo for the PCjr

Software related questions

64k ought to be enough - a demo for the PCjr

Postby riq » Thu Sep 27, 2018 8:12 am

Hi,

We (PVM) have just released a demo for the PCjr (works even on the 64K-RAM only version[*]):

video: https://www.youtube.com/watch?v=uakDpJns9LA
(thanks monzamess for the capture).

Binary download:
http://pungas.space/pvm-64ko.zip (only run on real hardware, no emulators)

source code here:
https://gitlab.com/ricardoquesada/pcjr-flashparty-2018

and here is high-level documentation that explains how the different tricks were done:
https://retro.moe/2018/09/26/64k-ram-ou ... -the-pcjr/

I hope you like it.

[*]: there is bug displaying 32k RAM video modes when the PCjr has only 64k RAM.
riq
 
Posts: 63
Joined: Sat Dec 09, 2017 2:36 pm

Re: 64k ought to be enough - a demo for the PCjr

Postby Trixter » Thu Sep 27, 2018 11:34 am

This is a wonderful demo and an even more wonderful technical write-up. I'm very pleased! You even managed to squeeze in 640x200x4.

320x200x16 doesn't work in a 64K PCjr because there isn't enough memory bandwidth. I'm guessing you found this out the hard way :) so while the demo technically works on a 64K PCjr, it only works correctly on a 128KB PCjr. But that is the most common stock config so that's cool.

I'll try to do a decent capture of it this weekend.
You're all insane and trying to steal my magic bag!
Trixter
 
Posts: 573
Joined: Mon Sep 01, 2008 12:00 am
Location: Illinois, USA

Re: 64k ought to be enough - a demo for the PCjr

Postby riq » Thu Sep 27, 2018 8:53 pm

Trixter wrote:This is a wonderful demo and an even more wonderful technical write-up. I'm very pleased! You even managed to squeeze in 640x200x4.

Thanks.

Trixter wrote:320x200x16 doesn't work in a 64K PCjr because there isn't enough memory bandwidth.

Do you know why is this happening? Since the demo, even with 128KRAM, never uses the upper 64K RAM. Why is there a bandwidth issue? Does the 64k RAM extension offer something else besides RAM?


Trixter wrote:I'll try to do a decent capture of it this weekend.

Much appreciated.
riq
 
Posts: 63
Joined: Sat Dec 09, 2017 2:36 pm

Re: 64k ought to be enough - a demo for the PCjr

Postby Trixter » Fri Sep 28, 2018 7:31 am

riq wrote:Do you know why is this happening? Since the demo, even with 128KRAM, never uses the upper 64K RAM. Why is there a bandwidth issue? Does the 64k RAM extension offer something else besides RAM?


I'm paraphrasing from the tech ref, but the VGA chip accesses both 64k banks in parallel to enable the high bandwidth needed for 320x200x16.

I'm assuming you got doubled pixels when you tried to do 320x200x16 with only 64K? Or was it corrupt in some other way?
You're all insane and trying to steal my magic bag!
Trixter
 
Posts: 573
Joined: Mon Sep 01, 2008 12:00 am
Location: Illinois, USA

Re: 64k ought to be enough - a demo for the PCjr

Postby riq » Fri Sep 28, 2018 10:19 am

Trixter wrote:I'm paraphrasing from the tech ref, but the VGA chip accesses both 64k banks in parallel to enable the high bandwidth needed for 320x200x16.


Ahhhhhh...
From Tech ref:

The system board 64K RAM is mapped at the bottom
of the 1Mb address space. The system board 64K
RAM is mapped to the next 64K bytes of address space
if the 64kb Memory and Display Expansion option is
not installed. If read or written to, this higher block of
address space will look just like the low-order 64k-byte
block. This means the bottom 128K bytes of address
space is always reserved for RAM.

...

When inserted, the memory expansion option uses the
ODD memory space, while the system memory is
decoded as the EVEN memory. Thus, when used as
video memory, the memory expansion option has the
video attributes while the on-board system memory has
the video characters. This arrangement provides a
higher bandwidth of video characters.


That explains a lot of things.
riq
 
Posts: 63
Joined: Sat Dec 09, 2017 2:36 pm

Re: 64k ought to be enough - a demo for the PCjr

Postby Trixter » Sat Oct 06, 2018 6:47 pm

I am working on trying to capture this tonight via RGBI.
You're all insane and trying to steal my magic bag!
Trixter
 
Posts: 573
Joined: Mon Sep 01, 2008 12:00 am
Location: Illinois, USA

Re: 64k ought to be enough - a demo for the PCjr

Postby Trixter » Sat Oct 06, 2018 8:22 pm

The RGBI -> analog RGB portion of my capture chain broke. Exploring replacements. Sorry, this might be another week or two.
You're all insane and trying to steal my magic bag!
Trixter
 
Posts: 573
Joined: Mon Sep 01, 2008 12:00 am
Location: Illinois, USA

Re: 64k ought to be enough - a demo for the PCjr

Postby riq » Sun Oct 07, 2018 8:59 am

Trixter wrote:The RGBI -> analog RGB portion of my capture chain broke. Exploring replacements. Sorry, this might be another week or two.


Thanks!

Would you mind sharing what devices are you using for the capture? I want to have my own chain as well... Thanks.
riq
 
Posts: 63
Joined: Sat Dec 09, 2017 2:36 pm

Re: 64k ought to be enough - a demo for the PCjr

Postby Trixter » Sun Oct 07, 2018 10:10 am

CGA -> splitter cable (so I can hook up a monitor) -> gglabs CGA2RGB -> VGA gender changer -> VGA cable -> VGA to DVI adapter -> Epiphan DVI2PCIe with CGA video defined as a custom VGA mode.

I then run it through an avisynth software filter to snap noise to colors, and perform resizing and saving into something I can bring into Premiere.
You're all insane and trying to steal my magic bag!
Trixter
 
Posts: 573
Joined: Mon Sep 01, 2008 12:00 am
Location: Illinois, USA

Re: 64k ought to be enough - a demo for the PCjr

Postby monzamess » Sun Oct 07, 2018 10:53 am

Trixter wrote:CGA -> splitter cable (so I can hook up a monitor) -> gglabs CGA2RGB -> VGA gender changer -> VGA cable -> VGA to DVI adapter -> Epiphan DVI2PCIe with CGA video defined as a custom VGA mode.


Which piece converts analog CGA to VGA? Or do you even need that in this chain?
monzamess
 
Posts: 63
Joined: Sat Aug 14, 2010 7:16 am

Next

Return to PCjr Software

Who is online

Users browsing this forum: No registered users and 2 guests

cron