2021-10-17 00:41:52 -04:00
|
|
|
Dialog issues:
|
|
|
|
Uncompressed LZSA
|
|
|
|
DIALOG_PEASANT1 7394 4002
|
|
|
|
DIALOG_PEASANT2 6857 3943
|
|
|
|
DIALOG_PEASANT3 5809 3411
|
|
|
|
DIALOG_PEASANT4 6900 3851
|
|
|
|
DIALOG_CLIFF 4768 2825
|
|
|
|
DIALOG_INSIDE 10832 5741
|
|
|
|
|
|
|
|
|
|
|
|
Inventory:
|
|
|
|
3CEE - 4a5f = D71 = 3441 bytes
|
|
|
|
Common parser:
|
|
|
|
4ac - 11af = D03 3331 bytes
|
2021-10-20 23:21:00 -04:00
|
|
|
4c2 - 156e = 10ac 4268 bytes
|
2021-10-17 00:41:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-09-26 15:41:43 -04:00
|
|
|
peasant2 18302
|
|
|
|
18043 (decompress fast moved)
|
|
|
|
15899 (much of hgr code moved to qload)
|
2021-09-28 08:40:50 -04:00
|
|
|
16653 (work on load/save support)
|
2021-10-03 21:59:24 -04:00
|
|
|
17191 (more work on priorities)
|
|
|
|
19326 (include common text)
|
2021-10-05 00:13:31 -04:00
|
|
|
19577 -- at release 0.75
|
2021-10-12 08:18:33 -04:00
|
|
|
19944 -- after all priorities added
|
|
|
|
20050 -- parse lookup table
|
2021-10-17 22:56:46 -04:00
|
|
|
20493 -- more parse code (release 0.76)
|
|
|
|
16995 -- move inventory to language card
|
2021-10-18 14:18:13 -04:00
|
|
|
17122 -- add all verbs in (+), optimize text box drawing (-)
|
2021-10-20 00:47:40 -04:00
|
|
|
17918 -- text parsing nearing completion
|
|
|
|
18208 -- mountain pass parsing working
|
2021-10-20 23:21:00 -04:00
|
|
|
18780 -- most dialog hooked up
|
2021-10-20 23:54:09 -04:00
|
|
|
17394 -- move loadsave to qload.inc
|
|
|
|
17100 -- move parse_input high and move p2 strings back in
|
2021-10-27 15:52:36 -04:00
|
|
|
17368 -- use lookup table for next room (and other changes)
|
2021-11-17 14:12:57 -05:00
|
|
|
17780 -- size as of the switch to dictionary word lookup
|
2021-11-18 23:54:25 -05:00
|
|
|
18012 -- hook up more of archery
|
2021-11-20 00:17:47 -05:00
|
|
|
18120 -- finish hooking up archery
|
2021-12-06 00:00:08 -05:00
|
|
|
17941 -- after most of text hooked up (more code was moved to qload)
|
2021-12-28 17:56:28 -05:00
|
|
|
17929 -- after redoing so background is always in PAGE1
|
2021-12-30 21:41:19 -05:00
|
|
|
18132 -- add in river animation code
|
2021-10-05 00:13:31 -04:00
|
|
|
|
|
|
|
partial save, can we fit in 4k?
|
|
|
|
102 lines ; inventory was 115?
|
|
|
|
only 2-38 36 => 113 lines
|
|
|
|
|
|
|
|
|
|
|
|
sprite routines:
|
|
|
|
14x14 sprite mask -> for drawing baby in ending
|
|
|
|
1x5 sprite -> intro, lake bubbles
|
|
|
|
1x8 sprite -> draw font
|
|
|
|
2x16 sprite -> inventory
|
|
|
|
7x28 sprite -> unused
|
|
|
|
7x28 sprite mask -> draw peasant
|
|
|
|
hgr_sprite -> generic
|
|
|
|
|
2021-09-19 00:01:26 -04:00
|
|
|
Notes
|
|
|
|
~~~~~
|
|
|
|
Some people would like actual S.A.M. support like the original game,
|
|
|
|
but that takes 9kB! Is there room in TROGDOR for that?
|
|
|
|
|
|
|
|
|
2021-08-14 13:03:58 -04:00
|
|
|
Memory Map
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
2021-08-14 15:01:59 -04:00
|
|
|
; notes -- VID_LOGO loads title at $9000 - $AFFF
|
|
|
|
|
2021-08-14 13:03:58 -04:00
|
|
|
$00 Zero Page
|
2021-08-14 15:45:03 -04:00
|
|
|
$01 Stack
|
|
|
|
$02 Disk Lookup
|
|
|
|
$03 Disk Lookup, IRQ vectors
|
2021-09-27 00:33:24 -04:00
|
|
|
$04-$07 Text/GR page 1 (priority map)
|
2021-08-14 15:45:03 -04:00
|
|
|
$08-$0B Text/GR page 2. $08=boot, $09-$0A = qboot stage2
|
2021-10-20 23:21:00 -04:00
|
|
|
$0B-$1F QLOAD disk routines and HGR drawing routines (5120 bytes)
|
2021-08-14 13:03:58 -04:00
|
|
|
$20-$3F HGR Page 1
|
|
|
|
$40-$5f HGR Page 2
|
2021-10-19 23:56:02 -04:00
|
|
|
$60-$AF Programs (roughly 22k available?) (we max at 20k on disk)
|
2021-08-14 13:03:58 -04:00
|
|
|
$B8-$BB Hi-res lookup tables
|
2021-09-27 00:33:24 -04:00
|
|
|
$BC temp area for load/save files
|
2021-09-29 16:13:38 -04:00
|
|
|
$BD-$BE temp area when saving game
|
2021-10-25 00:22:42 -04:00
|
|
|
$BF verb table
|
2021-08-14 13:03:58 -04:00
|
|
|
$C0-$CF I/O
|
2021-09-29 16:13:38 -04:00
|
|
|
$D0-$DF (Language Card BANK1) ?????
|
|
|
|
$D0-$DF (Language Card BANK2) Mockingboard music/PT3-routines
|
|
|
|
$E0-$FF (Language Card) ?????
|
2021-08-14 13:03:58 -04:00
|
|
|
|
2021-10-19 23:56:02 -04:00
|
|
|
$D0-$DF (bank2) inventory
|
2021-10-20 23:54:09 -04:00
|
|
|
$D0-$ED (bank1) per-levelstrings
|
2021-10-25 00:22:42 -04:00
|
|
|
$EE-$FF common parser code (4.5k = 4608 bytes)
|
2021-10-19 23:56:02 -04:00
|
|
|
|
2021-09-19 00:01:26 -04:00
|
|
|
Disk1 Map (disk has 35 tracks, each 4k in size)
|
2021-08-14 13:03:58 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
T 0 = Qboot
|
2021-12-07 16:55:03 -05:00
|
|
|
T 1 = QLOAD 5286 bytes 21S = 1T5S
|
2021-09-29 16:13:38 -04:00
|
|
|
T 3 = MUSIC 4045 bytes 16S = 1T0S
|
2021-12-07 16:55:03 -05:00
|
|
|
T 4 = VID_LOGO 7574 bytes 30S = 1T14S
|
|
|
|
T 6 = TITLE 8950 bytes 35S = 2T3S
|
|
|
|
T 9 = INTRO 13467 bytes 52S = 3T4S
|
|
|
|
T 14 = INVENTORY 3121 bytes 13S = 0T13S
|
|
|
|
T 15 = PEASANT1 17007 bytes 67S = 4T3S ; 88 is max?
|
|
|
|
T 20 = PEASANT2 17941 bytes 71S = 4T7S ; 79 = 20224
|
|
|
|
T 25 = PEASANT3 18154 bytes 71S = 4T7S
|
|
|
|
T 30 = PEASANT4 15806 bytes 62S = 3T14S
|
2021-08-12 22:45:18 -04:00
|
|
|
|
2021-09-19 00:01:26 -04:00
|
|
|
Disk2 Map (disk has 35 tracks, each 4k in size)
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2021-12-07 16:55:03 -05:00
|
|
|
T 0 = WBOOT
|
|
|
|
T 1 = COPY_CHECK 2942 bytes 12S = 0T12S
|
|
|
|
T 3 = GAME_OVER 2111 bytes 9S = 0T9S
|
|
|
|
T 4 = MAP 2703 bytes 11S = 0T11S
|
|
|
|
T 6 = ARCHERY 2112 bytes 11S = 0T11S
|
|
|
|
T 9 = INSIDE 14178 bytes 56s = 3T8S
|
|
|
|
T 14 = INN 6906 bytes 27S = 1T11S
|
|
|
|
T 19 = TROGDOR 11468 bytes 45S = 2T13S
|
|
|
|
T 24 = ENDING 17619 bytes 69S = 4T5S
|
|
|
|
T 29 = CLIFF 13024 bytes 51S = 3T3S
|
2021-09-19 00:01:26 -04:00
|
|
|
|
|
|
|
|
2021-08-12 22:45:18 -04:00
|
|
|
238, to 280 (6)
|
|
|
|
50 to 135 (85) 6*85=510
|
|
|
|
|
2021-08-09 01:21:58 -04:00
|
|
|
280x192
|
|
|
|
*4
|
|
|
|
1120x768
|
|
|
|
|
|
|
|
Our capture: 300x142 roughly
|
|
|
|
292x142 to center it
|
|
|
|
|
|
|
|
Odd is Orange
|
|
|
|
Even is blue
|
|
|
|
|
|
|
|
EO EO EO EO EO if draw black at odd, nothing
|
|
|
|
blue 10 10 10 10 10 if draw black at even, two-wide(?) black
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 10 10 10 10 blue
|
|
|
|
01 01 01 01 01 orange
|
|
|
|
|
|
|
|
EO EO
|
|
|
|
10 01 blue->orange has black gap
|
|
|
|
|
|
|
|
01 10 orange->blue has white gap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 10 01 01 = blue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6|----c>>>-----------c------c-------|
|
|
|
|
5|-aaa----aaab>>>aaa---a-b-a---------|
|
|
|
|
|
2021-09-01 22:42:57 -04:00
|
|
|
|
|
|
|
|
|
|
|
46, XRUN=2
|
|
|
|
|
|
|
|
46/7= 6R4 ; RUN of 0=1 wide, run of 1=2 wide
|
|
|
|
|
|
|
|
start at 4, end at 5
|
|
|
|
|
|
|
|
start at 4 (left) = $F0 1111 0000
|
|
|
|
end at 5 (Right) = $BF 1011 1111
|
|
|
|
=========
|
|
|
|
x011 0000
|
|
|
|
OR them!!!!
|
|
|
|
|
|
|
|
left_masks:
|
|
|
|
.byte $FF,$FE,$FC,$F8, $F0,$E0,$C0
|
|
|
|
|
|
|
|
right_masks:
|
|
|
|
.byte $81,$83,$87, $8F,$9F,$BF,$FF
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-10-28 00:02:49 -04:00
|
|
|
POINTS IMPLEMENTED: (in order of implementation)
|
|
|
|
+ 10 (Talk Trogdor)
|
|
|
|
+ 1 (talk to archer)
|
|
|
|
+ 1 (talked to archer after trinket/mask)
|
|
|
|
+ 2 (move rock)
|
|
|
|
+ 1 (get pebbles)
|
|
|
|
+ 1 (get feed)
|
|
|
|
+ 5 (give riches)
|
2021-10-28 23:31:08 -04:00
|
|
|
+ 5 (give baby) [inn]
|
|
|
|
+ 3 (get room)
|
2021-10-29 01:28:16 -04:00
|
|
|
+ 2 (feed fish)
|
2021-10-31 00:01:12 -04:00
|
|
|
+ 2 (put pebbles in bucket)
|
|
|
|
+ 3 (put baby in bucket)
|
|
|
|
+ 2 (turn crank [baby in bucket])
|
2021-10-31 20:18:57 -04:00
|
|
|
+ 2 (scare gary)
|
2021-11-01 00:13:47 -04:00
|
|
|
+ 2 (get arrow)
|
|
|
|
+ 3 (say haldo to dongolev)
|
2021-11-02 00:22:21 -04:00
|
|
|
+ 3 (jump in hay)
|
2021-11-02 00:58:20 -04:00
|
|
|
+ 2 (fall in mud puddle)
|
2021-11-18 00:49:27 -05:00
|
|
|
+ 2 (give trinket to brothers)
|
2021-11-18 23:54:25 -05:00
|
|
|
+ 2 (get super trinket)
|
2021-11-20 00:17:47 -05:00
|
|
|
+ 3 (win archery game)
|
2021-11-21 16:13:14 -05:00
|
|
|
+ 10 (get belt)
|
2021-11-22 00:30:30 -05:00
|
|
|
+ 5 (kill kerrek)
|
2021-11-27 01:01:00 -05:00
|
|
|
+ 7 (talk to knight once have belt, robe, and on fire)
|
2021-11-27 01:36:40 -05:00
|
|
|
+ 7 (get riches from jhonka)
|
2021-11-28 00:55:19 -05:00
|
|
|
+ 5 (throw baby)
|
2021-11-28 01:59:53 -05:00
|
|
|
+ 5 (deploy baby)
|
2021-11-29 00:41:40 -05:00
|
|
|
+ 1 (close drawer)
|
|
|
|
+ 10 (get robe)
|
|
|
|
+ 3 (wear robe)
|
2021-12-02 00:13:45 -05:00
|
|
|
+ 2 (get grease)
|
2021-12-05 14:44:09 -05:00
|
|
|
+ 10 (catch on fire)
|
2021-12-14 00:41:58 -05:00
|
|
|
+ 7 (throw sword at trogdor)
|
2021-10-28 00:02:49 -04:00
|
|
|
======
|
2021-12-14 00:41:58 -05:00
|
|
|
129 points
|
2021-10-28 14:58:59 -04:00
|
|
|
|
|
|
|
|
2021-11-10 16:52:01 -05:00
|
|
|
deaths/endings implemented
|
2021-10-28 14:58:59 -04:00
|
|
|
==================
|
|
|
|
+1 Typing "die"
|
2021-11-10 16:52:01 -05:00
|
|
|
+2 Beating the game
|
|
|
|
+3 Cutting off arms, legs, and head
|
2021-11-27 01:36:40 -05:00
|
|
|
+4 kick/punch/kill Old Gary
|
|
|
|
+5 get arrow (while Dongolev shooting)
|
|
|
|
+6 walk on range (while Dongolev shooting)
|
2021-11-21 23:35:56 -05:00
|
|
|
+7 walk too close to Kerrek
|
2021-11-27 01:36:40 -05:00
|
|
|
+8 say "yes" when Jhonka asks if you stole riches
|