• 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

Revisión82c10054b235b4886319db01bb241c0f34f9e1d7 (tree)
Tiempo2022-09-25 21:18:29
AutorJoel Matthew Rees <joel.rees@gmai...>
CommiterJoel Matthew Rees

Log Message

this version still had bad random

Cambiar Resumen

Diferencia incremental

--- a/VTL_6801_exorsim.asm
+++ b/VTL_6801_exorsim.asm
@@ -149,7 +149,7 @@ PROBE STAA 0,X
149149 BNE NOTRAM
150150 INX ; all bits seem to be R/W.
151151 PROBET CPX #COLD
152- BHI PROBE ; CPX on 6801 works right.
152+ BLO PROBE ; CPX on 6801 works right.
153153 NOTRAM DEX
154154 STX STAR
155155 START LDS #STACK ; re-initialize at beginning of each evaluate
@@ -267,8 +267,14 @@ AR11 INCB ; MACHINE LANGUAGE?
267267 *
268268 AR2 STD 0,X ; STORE NEW VALUE
269269 ADDD QUITE ; RANDOMIZER
270+ RORA ; Do something more than double, anyway.
271+ ROLB
272+ ADCA QUITE+1
270273 STD QUITE
271- RTS
274+ BNE AR2DUN ; don't get stuck on zero
275+ INC QUITE
276+ DEC QUITE+1
277+AR2DUN RTS
272278 *
273279 SKP2 BSR FIND ; FIND LINE
274280 BEQ INSRT ; IF NOT THERE