6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 5:47 pm

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Jan 18, 2024 4:12 pm 
Offline

Joined: Sat Dec 12, 2015 7:48 pm
Posts: 122
Location: Lake Tahoe
BigDumbDinosaur wrote:
resman wrote:
BigDumbDinosaur wrote:
Code:
  GETADR     LDA  YVERTL,Y  ; LOOK UP LO BYTE OF LINE
             CLC
             ADC  HORIZ     ; ADD DIPLACEMENT INTO LINE
             STA  HIRESL
             LDA  YVERTH,Y  ; LOOK UP HI BYTE OF LINE
             ADC #0         ;handle carry from LSB addition <<<———
             STA  HIRESH
             LDA  TEMP
             STA  SLNGH     ; RETORE VARIABLE FROM SETUP
             LDY  #$00
             RTS

The highlighted instruction appears to be missing.

The way the Apple II screen memory is laid out you don't have to worry about carry out per scanline. One of the few consolations to the Apple II video memory organization.

OIC.  I'm not familiar with the Apple II hardware.


Woz was apparently able to save a few chips by using a convoluted (at least to software) layout. It's exactly this reason that the book quoted by the OP was such a watershed moment for all of us kids trying to wrap our adolescent brains around the Apple II's internals. I still have my copy, held together with packing tape.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 18, 2024 4:49 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8144
Location: Midwestern USA
resman wrote:
Woz was apparently able to save a few chips by using a convoluted (at least to software) layout. It's exactly this reason that the book quoted by the OP was such a watershed moment for all of us kids trying to wrap our adolescent brains around the Apple II's internals. I still have my copy, held together with packing tape.

It seems all the microcomputers of that era had baroque video setups, a lot of it the result of trying to minimize the chip count.  The VIC used in the Commodore 64 and 128 was downright hostile to being operated in bit-mapped mode.  At least the VDC in the C-128 was logical in its use of video memory whilst in bit-map mode.  The VIC, on the other hand, needlessly complicated the arithmetic required to compute the byte offset in video RAM (which was system RAM) that had to be twiddled to set or clear a pixel.  Of course, the VDC had its own annoyances...

Speaking of the C-128, I look at its architecture and wonder how in hell the thing manages to function and be stable.  Bil Herd and company had a major timing quagmire on their hands with that thing, especially with interfacing a Z80 to a 6502-style bus.  :shock:

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 19, 2024 4:45 am 
Offline

Joined: Wed Jan 03, 2007 3:53 pm
Posts: 50
Location: Sunny So Cal
Quote:
The VIC used in the Commodore 64 and 128 was downright hostile to being operated in bit-mapped mode.


Part of that was practically reusing the character generator logic to do the hi-res screen, though this wasn't unusual either (compare with the TMS9918A).

_________________
Machine room: http://www.floodgap.com/etc/machines.html


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 28, 2024 4:59 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1927
Location: Sacramento, CA, USA
resman wrote:
It's exactly this reason that the book quoted by the OP was such a watershed moment for all of us kids trying to wrap our adolescent brains around the Apple II's internals. I still have my copy, held together with packing tape.

I believe that I have a low-mileage example stashed in my attic somewhere. If you PM me your snail mail address, I'll try to dig it up and send it to you, no charge, as a thank you for your contributions to the community.

Garth received my original BYTE Forth issue a few years ago, and seemed genuinely pleased to have the real Aug 1980 issue, yellowed and fragile as it was. Ethan Blanton on Ed's Retro Computing Forum received my original Applesoft Tutorial #A2L0018 and was similarly pleased. cbmeeks is the proud new owner of my Franklin Ace 2200, with detached keyboard, manual, and a few floppies, but it had suffered some rough handling, and was going to need a bunch of help before powering up. Charlie Gibbs received my early paperback edition of Heinlein's Expanded Universe.

My attic holds literally tons of stuff like that, and it pains me to realize that it's all slowly deteriorating without anyone to appreciate it before it inevitably ends up in a landfill after my passing (hopefully a few decades or more from now, but who knows?)

Attachment:
ag&agd.PNG
ag&agd.PNG [ 295.44 KiB | Viewed 2150 times ]

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: bencoder, Google [Bot] and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: