• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Deriving a new dialect of Very Tiny Language from VTL-2 6800 version


Commit MetaInfo

Revisionbeca7eb329e65e76fcfc9a6f9b16d146179beddf (tree)
Time2022-09-25 21:33:09
AuthorJoel Matthew Rees <joel.rees@gmai...>
CommiterJoel Matthew Rees

Log Message

missed subtraction, random reverted to VTL-2 original

Change Summary

Incremental Difference

--- a/VTL_6801_mc10.asm
+++ b/VTL_6801_mc10.asm
@@ -293,7 +293,11 @@ AR11 INCB ; MACHINE LANGUAGE?
293293 SWI ; THEN INTERUPT
294294 *
295295 AR2 STD 0,X ; STORE NEW VALUE
296- ADDD QUITE ; RANDOMIZER
296+ BNE AR2RND ; Initialize/don't get stuck on zero.
297+ INCB ; Keep it known cheap.
298+* ADDD QUITE ; RANDOMIZER ; NO! Don't do this.
299+AR2RND ADDB QUITE ; RANDOMIZER ; Adding the low byte to the high byte
300+ ADCA QUITE+1 ; ; is cheap but intentional.
297301 STD QUITE
298302 RTS
299303 *