• 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

Revisionb163b0691f356186b723b0fb17b9ec007e54b44a (tree)
Time2022-10-02 20:39:00
AuthorJoel Matthew Rees <joel.rees@gmai...>
CommiterJoel Matthew Rees

Log Message

More Y conversions

Change Summary

Incremental Difference

--- a/VTL_6809_coco.asm
+++ b/VTL_6809_coco.asm
@@ -378,8 +378,6 @@ OPEN LDX AMPR ; CALCULATE NEW END
378378 CMPY STAR
379379 LBHS START
380380
381-* Changes to here known to be functional 10/01
382-
383381 * LDX AMPR
384382 ** LDS INSPTR ; Remember that the 6800/6801 stack is postdecrement push.
385383 ** STS AMPR
@@ -409,26 +407,33 @@ SLIDE LDB ,-X
409407 DON
410408 LDD DOLR ; STORE LINE #
411409 STD 0,X ; ** Note MSB1st byte order implicit dependency here! **
412- STX DST ; will skip by offset on store
413-* LDS EDTLIN ; GET NEW LINE
414-* DES ; pre-increment
415- LDD EDTLIN ; GET NEW LINE
416- STD SRC
417-*
418-*MOVL INX ; INSERT NEW LINE (skip over LINE # hi byte)
419-* PULB
420-* STAB 1,X ; (skips over low byte, BTW)
421-MOVL LDX SRC
422- LDB ,X+
423- STX SRC
424- LDX DST
410+* STX DST ; will skip by offset on store
411+** LDS EDTLIN ; GET NEW LINE
412+** DES ; pre-increment
413+* LDD EDTLIN ; GET NEW LINE
414+* STD SRC
415+ LDY EDTLIN ; GET NEW LINE
416+*
417+**MOVL INX ; INSERT NEW LINE (skip over LINE # hi byte)
418+** PULB
419+** STAB 1,X ; (skips over low byte, BTW)
420+*MOVL LDX SRC
421+* LDB ,X+
422+* STX SRC
423+MOVL LDB ,Y+
424+* LDX DST
425+* LEAX 1,X ; skip over what was already stored (too tricky for words).
426+* STX DST
425427 LEAX 1,X ; skip over what was already stored (too tricky for words).
426- STX DST
427428 STB 1,X ; note offset store
428429 BNE MOVL ; until NUL stored
430+
431+* Changes to here known to be functional 10/01
432+
429433 *
430434 GOTIT
431435 * LDS #STACK ; Ready for a new line of input.
436+ LDU #STACK ; Ready for a new line of input.
432437 LDS STKMRK ; restore from mark
433438 LBRA LOOP
434439 *