Commit Graph
967 Commits
Author SHA1 Message Date
Sebastian Rasmussen 5447173fec Space Travel now runs without crashing after reordering input files.
The naive order of the assembly files given to the assembler was to
put the st?.s files first followed by fop.s at the end. This caused
Space Travel to crash, why that happend is explained below.

st1.s through st5.s contain code, while st6. and st7.s contain
constants and data storage respectively. The order of the given
assembler files meant that the code st?.s ended up at 010000 onwards,
while the code in fop.s ended up after the data storage defined in
st7.s. In particular the function fmp ended up immediately after dspl.

At the end of st7.s there is a display list, dspl. At runtime this
list is pointed to by the clistp variable stored at the auto-indexing
memory register at address 017. Auto-indexing means that the pointer
will be incremented after use. However the display list dspl does not
reserve memory for the entire list, instead it assumes that the memory
immediately after dpsl is unused. This conflicts with storing fmp from
fop.s immediately after st7.s!

Despite this conflict the first few frames of space travel could be
rendered because clistp was never referenced. By the time it was
referenced it changed the code in fmp to invalid code. At a later
stage when fmp was called the program crashed.

The solution I chose is to reorder the files at the command-line given
to the assembler; specifically I opted to put fop.s after all the code
in st1.s though st4.s.

This means that Space Travel now runs without crashing!
2020-10-05 17:13:47 +08:00
Tom EverettandGitHub 8f69bc3889 Merge pull request #223 from teverett/master
osx works, windows does not
2020-06-11 20:22:32 -06:00
Tom Everett e68adfd570 remove windows for now 2020-06-11 20:00:52 -06:00
Tom Everett 7b1c30bfa1 DateTime on Windows 2020-06-11 19:57:17 -06:00
Tom EverettandGitHub 35cabdbe65 Merge pull request #222 from teverett/master
enable CI build on os x
2020-06-11 19:56:57 -06:00
Tom Everett d03d451cb8 oops 2020-06-11 19:33:50 -06:00
Tom Everett 47bd969969 cpan 2020-06-11 19:32:40 -06:00
Tom Everett 29e519ab5a libdt 2020-06-11 19:25:54 -06:00
Tom Everett 3495b39083 split build 2020-06-11 19:21:23 -06:00
Tom Everett 304322b7a9 macos 2020-06-11 19:19:32 -06:00
Tom EverettandGitHub fcb8a18e14 Merge pull request #221 from teverett/master
fix CI badge
2020-06-11 19:12:15 -06:00
Tom Everett 5be01e85b1 fix CI badge 2020-06-11 19:10:06 -06:00
Tom EverettandGitHub e09884474b Merge pull request #218 from teverett/master
switch from travis-ci to github workflows
2020-06-11 19:07:25 -06:00
Tom Everett 6bedb828e3 linux only 2020-06-06 15:57:38 -06:00
Tom Everett da91571a25 switch to github actions 2020-06-06 15:55:52 -06:00
Tom EverettandGitHub f019e98bee Merge pull request #207 from sebras/typos/ds.s
Fix typos in ds.s after manual review.
2020-03-15 08:48:36 -06:00
Tom EverettandGitHub 8af1d84209 Merge pull request #184 from sebras/typos/s3.s
Fix typos in s3.s after manual review.
2020-03-15 08:48:15 -06:00
Sebastian Rasmussen c6bdbfebf3 Fix typos in s3.s after manual review. 2020-03-15 15:30:06 +08:00
Sebastian Rasmussen 8e3ebc67d9 Fix typos in ds.s after manual review. 2020-03-15 15:00:23 +08:00
Tom EverettandGitHub b96f3ef58d Merge pull request #217 from teverett/master
its not 2010…
2020-03-14 15:40:05 -06:00
Tom Everett 5da06594e1 its not 2010… 2020-03-14 15:39:34 -06:00
Tom EverettandGitHub bab5a0cedf Merge pull request #198 from sebras/typos/sop.s
Fix typos in sop.s after manual review.
2020-03-14 15:16:54 -06:00
Tom EverettandGitHub 345c6faef7 Merge pull request #196 from sebras/typos/un.s
Fix typos in un.s after manual review.
2020-03-14 15:12:23 -06:00
Tom EverettandGitHub 6296b304f9 Merge pull request #190 from sebras/typos/adm.s
Fix typos in adm.s after manual review.
2020-03-14 15:10:58 -06:00
Tom EverettandGitHub ef0ba90682 Merge pull request #213 from sebras/typos/ttt2.s
Fix typos in ttt2.s after manual review.
2020-03-14 15:00:49 -06:00
Tom EverettandGitHub 54369be860 Merge pull request #194 from sebras/pagecomments/s6.s
Fix typo in page comment in st6.s.
2020-03-14 14:56:36 -06:00
Tom EverettandGitHub fcd72be89d Merge pull request #205 from sebras/typos/bc.s
Fix typo in bc.s after manual review.
2020-03-14 14:56:14 -06:00
Tom EverettandGitHub b6db6c9517 Merge pull request #203 from sebras/typos/init.s
Fix typos in init.s after manual review.
2020-03-14 14:56:00 -06:00
Tom EverettandGitHub c0d69e1a13 Merge pull request #182 from xorhash/master
Novell -> Micro Focus
2020-03-14 14:55:47 -06:00
Tom EverettandGitHub 6b2612f50d Merge pull request #191 from sebras/pagecomments/adm.s
Add page comments to adm.s.
2020-03-14 14:55:33 -06:00
Tom EverettandGitHub c953a887f1 Merge pull request #199 from sebras/pagecomments/cat.s
Add page comments to cat.s
2020-03-14 14:55:22 -06:00
Tom EverettandGitHub f2797117ff Merge pull request #197 from sebras/pagecomments/bi.s
Add page comments to bi.s.
2020-03-14 14:55:11 -06:00
Tom EverettandGitHub 01a65e05fa Merge pull request #200 from sebras/pagecomments/bl.s
Add page comments to bl.s.
2020-03-14 14:54:58 -06:00
Tom EverettandGitHub 49cc91e753 Merge pull request #201 from sebras/pagecomments/dsk.s
Add page comments to dsksav.s, dsksav.s and dskio.s.
2020-03-14 14:54:47 -06:00
Tom EverettandGitHub 894beec3db Merge pull request #202 from sebras/pagecomments/init.s
Add page comments to init.s.
2020-03-14 14:54:33 -06:00
Tom EverettandGitHub 31de42af44 Merge pull request #206 from sebras/pagecomments/ds.s
Add page comments to ds.s.
2020-03-14 14:54:21 -06:00
Phil BudneandGitHub a1163ac948 Merge pull request #216 from teverett/master
added two .out files to ignores
2020-03-14 16:50:00 -04:00
Tom Everett cb65002969 updated readme 2020-03-14 14:40:57 -06:00
Tom EverettandGitHub 596c038b5a Merge pull request #204 from sebras/pagecomments/bc.s
Add page comments to bc.s.
2020-03-14 14:19:54 -06:00
Tom Everett 08f78a320b added two .out files to ignores 2020-03-14 14:13:14 -06:00
Phil BudneandGitHub f790f91d10 Merge pull request #215 from teverett/master
updated readme to reflect current sources after second batch of listings entered
2020-03-13 23:53:23 -04:00
Tom Everett c0ca5d5691 updated readme 2020-03-13 21:00:23 -06:00
Sebastian Rasmussen 41e83c21b6 Add page comments to bc.s. 2020-02-10 03:51:07 +08:00
Sebastian Rasmussen 5350984840 Add page comments to ds.s. 2020-02-10 03:48:00 +08:00
Sebastian Rasmussen 99ac073334 Fix typo in bc.s after manual review. 2020-02-10 03:47:41 +08:00
Sebastian Rasmussen 0185f36563 Add page comments to init.s. 2020-02-10 03:47:06 +08:00
Sebastian Rasmussen ea3cb95973 Fix typos in init.s after manual review. 2020-02-10 03:46:49 +08:00
Sebastian Rasmussen 914c466d4a Add page comments to dsksav.s, dsksav.s and dskio.s. 2020-02-10 03:46:29 +08:00
Sebastian Rasmussen cf19c53068 Add page comments to bl.s. 2020-02-10 03:46:14 +08:00
Sebastian Rasmussen 25fc9eb131 Add page comments to cat.s 2020-02-10 03:45:34 +08:00