From ee04be65bbe2527e8686dbe8b2ee6c0a035cd566 Mon Sep 17 00:00:00 2001 From: Michaelangel007 Date: Mon, 9 Oct 2017 02:18:38 -0700 Subject: [PATCH] Fix link, sector usage, and indentation --- pack_unpack.s | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pack_unpack.s b/pack_unpack.s index a27b9ea..260e4f8 100644 --- a/pack_unpack.s +++ b/pack_unpack.s @@ -1,7 +1,8 @@ +; https://github.com/Michaelangel007/apple2_hgr_packer ; Michael Pohoreski -; github +; ; HGR Packer/Unpacker by removing/adding HGR screen holes -; Pack 8,192 bytes down to 8,192-512 = 7,680 = 30 sectors instead of 34 sectors +; Pack 8,192 bytes down to 8,192-512 = 7,680 = 30 sectors instead of 32 sectors ; Remove the "screen holes" by "sliding" remaining memory down over them ; Basically a glorified memcpy() ; @@ -162,8 +163,9 @@ ; Last Packed Byte: $5DFF ; Each page of HGR memory has 6 scanlines -; First Half of Page ($78 bytes) = 3 scanlines -; Last Half of Page ($78 bytes) = 3 scanlines +; First Half of Page ($78 bytes) = 3 scanlines +; Last Half of Page ($78 bytes) = 3 scanlines + Row = $FB ; 6 scanlines/page processed per loop Dst = $FC Src = $FE