Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you step through the program and look at the file as you're stepping one step at a time, I think you'll realize what's happening. Also, page 9 of the first zine has the crucial but of info on file manipulation that you need, if you end up not figuring it out. Pay careful attention to what happens to the "file pointer" as you read and write to files, which is the highlighted value in the file.
XB originally had "SUBI F 1 F" with no copy operation, but that produced the same error. i assumed it was caused by writing to and reading from a variable in the same turn so i split it up, but that didn't help
the only "fix" i've found is removing any lines that attempt to do maths with F, which is a fix in the sense that the error no longer occurs but doesn't really help me in any practical way
and thanks for the hint - i'll give the zine another look
Below, with a seek -1 already will help
XB
LINK 800
LINK 800
MAKE
COPY M F
MARK LOOP
SEEK -1; added line
SUBI F 1 T
COPY T F
ADDI X 1 X
TEST X = 10
FJMP LOOP
DROP
Do mind that it now will end on -1, which would be a nice TEST case to change.
However, the other scenario's will have a starting number that is variable, so not great to have that hardcoded.
Some spoilers, taking this code and improving, if you're still lost.
Also, why keep a counter, if you already *know* what the end situation is. It's not after a certain number of iterations, it's when you reach 0.
So, instead of testing for 10, why not test if your value T has reached 0.
Even more awesome, T being zero is already a condition it's T being F.
As 'coup de grace', one of the awesome things of this game is that "crashing" is a feature. So, we can drop the DROP. When the EXA crashes it will DROP implicitly.
LINK 800
LINK 800
MAKE
COPY M F
MARK LOOP
SEEK -1; ADDED LINE
SUBI F 1 T
COPY T F
;ADDI X 1 X SKIP
;TEST X = 10 or 9 SKIP
TJMP LOOP; TJMP NOW
; DROP DROPPED