+CharlieChaplin Posted September 14, 2019 Share Posted September 14, 2019 Well, some months ago I copied the tapes from Silica Shop (see another topic here) and one of the programs on these six tapes was "Civil War". I knew that I had already seen this game before and today I found it in my collection, it's Civil War by Eugene Atari Computer Enthusiasts. The program is a simple simulation of 14 civil war places and how you would have acted there... (yes, it is stupid but true, the program allows to change history). Alas, the program listing has a small bug, it starts with Bull Run, later there is The Second Bull Run, but when it reaches place 13 (which should be Spotsylvania) it displays Bull Run again, until it reaches the last place and displays the outcome of all 14 battles. The program uses "If A<>1 Then Goto..., If A<>2 Then Goto..." up to "If A<>14 Then Goto...". I thought, I could simply add A=0 at the beginning and then at every place add A=A+1 (or A=1, A=2, A=3, etc.) but this did not work. Maybe some nice AA member can take a look and fix the bug, so that place 13 (Spotsylvania) shows up in the game...?!? There is Altirra Basic on the ATR, but the program works with Atari Basic (and shows the same bug)... CIVILWAR.zip Quote Link to comment Share on other sites More sharing options...
Preppie Posted September 14, 2019 Share Posted September 14, 2019 Line 3920 the 6th entry in data is a 1 instead of a 13 3 Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted September 15, 2019 Author Share Posted September 15, 2019 (edited) Didn't think it was something so easy, but yeah, this fixed it. (The version on the Silica tapes had the same bug, so with your help I could also fix it there.) Thank you! Edited September 15, 2019 by CharlieChaplin 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.