ripxplore 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/doc/classes/A2Dsk.html +35 -35
- data/doc/classes/A2Dsk.src/M000351.html +4 -4
- data/doc/classes/A2Dsk.src/M000352.html +4 -4
- data/doc/classes/A2Dsk.src/M000353.html +4 -4
- data/doc/classes/A2Dsk.src/M000354.html +4 -4
- data/doc/classes/A2Dsk.src/M000355.html +4 -8
- data/doc/classes/A2Dsk.src/M000356.html +6 -7
- data/doc/classes/A2Dsk.src/M000357.html +23 -0
- data/doc/classes/A2Dsk.src/M000361.html +18 -0
- data/doc/classes/A2Dsk.src/M000362.html +18 -0
- data/doc/classes/A2Dsk.src/M000363.html +18 -0
- data/doc/classes/A2Dsk.src/M000364.html +18 -0
- data/doc/classes/A2Dsk.src/M000365.html +18 -0
- data/doc/classes/A2Dsk.src/M000366.html +22 -0
- data/doc/classes/A2Dsk.src/M000367.html +23 -0
- data/doc/classes/A2DskDosOrder.html +5 -5
- data/doc/classes/A2DskDosOrder.src/M000521.html +18 -0
- data/doc/classes/A2DskDosOrder.src/M000534.html +18 -0
- data/doc/classes/A2DskPhysicalOrder.html +5 -5
- data/doc/classes/A2DskPhysicalOrder.src/M000171.html +18 -0
- data/doc/classes/A2WriteTests.html +10 -10
- data/doc/classes/A2WriteTests.src/M000223.html +22 -47
- data/doc/classes/A2WriteTests.src/M000224.html +67 -0
- data/doc/classes/A2WriteTests.src/M000233.html +42 -0
- data/doc/classes/A2WriteTests.src/M000234.html +67 -0
- data/doc/classes/Apple2.html +70 -70
- data/doc/classes/Apple2.src/M000121.html +4 -4
- data/doc/classes/Apple2.src/M000122.html +4 -4
- data/doc/classes/Apple2.src/M000123.html +4 -5
- data/doc/classes/Apple2.src/M000124.html +4 -5
- data/doc/classes/Apple2.src/M000125.html +4 -4
- data/doc/classes/Apple2.src/M000126.html +5 -4
- data/doc/classes/Apple2.src/M000127.html +5 -4
- data/doc/classes/Apple2.src/M000128.html +4 -4
- data/doc/classes/Apple2.src/M000129.html +4 -4
- data/doc/classes/Apple2.src/M000130.html +4 -4
- data/doc/classes/Apple2.src/M000131.html +4 -4
- data/doc/classes/Apple2.src/M000132.html +4 -4
- data/doc/classes/Apple2.src/M000133.html +4 -4
- data/doc/classes/Apple2.src/M000134.html +18 -0
- data/doc/classes/Apple2.src/M000135.html +18 -0
- data/doc/classes/Apple2.src/M000136.html +18 -0
- data/doc/classes/AppleBinary.html +20 -20
- data/doc/classes/AppleBinary.src/M000322.html +6 -4
- data/doc/classes/AppleBinary.src/M000323.html +4 -4
- data/doc/classes/AppleBinary.src/M000324.html +4 -4
- data/doc/classes/AppleBinary.src/M000325.html +18 -0
- data/doc/classes/AppleBinary.src/M000332.html +20 -0
- data/doc/classes/AppleBinary.src/M000333.html +18 -0
- data/doc/classes/AppleBinary.src/M000334.html +18 -0
- data/doc/classes/AppleBinary.src/M000335.html +18 -0
- data/doc/classes/AppleCPM.html +40 -40
- data/doc/classes/AppleCPM.src/M000400.html +4 -4
- data/doc/classes/AppleCPM.src/M000401.html +5 -8
- data/doc/classes/AppleCPM.src/M000402.html +7 -9
- data/doc/classes/AppleCPM.src/M000403.html +10 -27
- data/doc/classes/AppleCPM.src/M000404.html +16 -11
- data/doc/classes/AppleCPM.src/M000405.html +21 -43
- data/doc/classes/AppleCPM.src/M000406.html +37 -10
- data/doc/classes/AppleCPM.src/M000407.html +30 -0
- data/doc/classes/AppleCPM.src/M000412.html +18 -0
- data/doc/classes/AppleCPM.src/M000413.html +18 -0
- data/doc/classes/AppleCPM.src/M000414.html +21 -0
- data/doc/classes/AppleCPM.src/M000415.html +23 -0
- data/doc/classes/AppleCPM.src/M000416.html +40 -0
- data/doc/classes/AppleCPM.src/M000417.html +35 -0
- data/doc/classes/AppleCPM.src/M000418.html +57 -0
- data/doc/classes/AppleCPM.src/M000419.html +30 -0
- data/doc/classes/AppleDos.html +55 -55
- data/doc/classes/AppleDos.src/M000247.html +4 -4
- data/doc/classes/AppleDos.src/M000248.html +4 -4
- data/doc/classes/AppleDos.src/M000249.html +4 -59
- data/doc/classes/AppleDos.src/M000250.html +58 -83
- data/doc/classes/AppleDos.src/M000251.html +84 -14
- data/doc/classes/AppleDos.src/M000252.html +12 -18
- data/doc/classes/AppleDos.src/M000253.html +18 -21
- data/doc/classes/AppleDos.src/M000254.html +20 -14
- data/doc/classes/AppleDos.src/M000255.html +17 -13
- data/doc/classes/AppleDos.src/M000256.html +11 -27
- data/doc/classes/AppleDos.src/M000257.html +18 -0
- data/doc/classes/AppleDos.src/M000258.html +18 -0
- data/doc/classes/AppleDos.src/M000259.html +18 -0
- data/doc/classes/AppleDos.src/M000260.html +73 -0
- data/doc/classes/AppleDos.src/M000261.html +98 -0
- data/doc/classes/AppleDos.src/M000262.html +28 -0
- data/doc/classes/AppleDos.src/M000263.html +34 -0
- data/doc/classes/AppleDos.src/M000264.html +37 -0
- data/doc/classes/AppleDos.src/M000265.html +31 -0
- data/doc/classes/AppleDos.src/M000266.html +27 -0
- data/doc/classes/AppleDos.src/M000267.html +43 -0
- data/doc/classes/AppleDosPic.html +20 -20
- data/doc/classes/AppleDosPic.src/M000157.html +7 -5
- data/doc/classes/AppleDosPic.src/M000158.html +5 -5
- data/doc/classes/AppleDosPic.src/M000159.html +4 -4
- data/doc/classes/AppleDosPic.src/M000167.html +20 -0
- data/doc/classes/AppleDosPic.src/M000168.html +18 -0
- data/doc/classes/AppleDosPic.src/M000169.html +18 -0
- data/doc/classes/AppleDosPic.src/M000170.html +18 -0
- data/doc/classes/AppleHiResPic.html +40 -40
- data/doc/classes/AppleHiResPic.src/M000459.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000460.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000461.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000462.html +52 -0
- data/doc/classes/AppleHiResPic.src/M000463.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000464.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000465.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000466.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000472.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000473.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000474.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000475.html +52 -0
- data/doc/classes/AppleHiResPic.src/M000476.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000477.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000478.html +18 -0
- data/doc/classes/AppleHiResPic.src/M000479.html +18 -0
- data/doc/classes/ApplePrintShopMiniPix.html +20 -20
- data/doc/classes/ApplePrintShopMiniPix.src/M000556.html +38 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000557.html +18 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000558.html +18 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000559.html +18 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000569.html +38 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000570.html +18 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000571.html +18 -0
- data/doc/classes/ApplePrintShopMiniPix.src/M000572.html +18 -0
- data/doc/classes/AppleText.html +15 -15
- data/doc/classes/AppleText.src/M000215.html +7 -6
- data/doc/classes/AppleText.src/M000216.html +6 -9
- data/doc/classes/AppleText.src/M000217.html +23 -0
- data/doc/classes/AppleText.src/M000225.html +21 -0
- data/doc/classes/AppleText.src/M000226.html +20 -0
- data/doc/classes/AppleText.src/M000227.html +23 -0
- data/doc/classes/AppleWorksWP.html +10 -10
- data/doc/classes/AppleWorksWP.src/M000522.html +20 -0
- data/doc/classes/AppleWorksWP.src/M000523.html +45 -0
- data/doc/classes/AppleWorksWP.src/M000535.html +20 -0
- data/doc/classes/AppleWorksWP.src/M000536.html +45 -0
- data/doc/classes/Applesoft.html +10 -10
- data/doc/classes/Applesoft.src/M000423.html +8 -62
- data/doc/classes/Applesoft.src/M000424.html +75 -0
- data/doc/classes/Applesoft.src/M000435.html +21 -0
- data/doc/classes/Applesoft.src/M000436.html +75 -0
- data/doc/classes/Atari800.html +65 -65
- data/doc/classes/Atari800.src/M000362.html +4 -9
- data/doc/classes/Atari800.src/M000363.html +9 -4
- data/doc/classes/Atari800.src/M000364.html +4 -5
- data/doc/classes/Atari800.src/M000365.html +5 -4
- data/doc/classes/Atari800.src/M000366.html +4 -4
- data/doc/classes/Atari800.src/M000367.html +4 -4
- data/doc/classes/Atari800.src/M000368.html +4 -4
- data/doc/classes/Atari800.src/M000369.html +3 -3
- data/doc/classes/Atari800.src/M000370.html +4 -4
- data/doc/classes/Atari800.src/M000371.html +3 -3
- data/doc/classes/Atari800.src/M000372.html +4 -4
- data/doc/classes/Atari800.src/M000373.html +9 -4
- data/doc/classes/Atari800.src/M000374.html +18 -0
- data/doc/classes/Atari800.src/M000375.html +19 -0
- data/doc/classes/Atari800.src/M000376.html +18 -0
- data/doc/classes/Atari800.src/M000377.html +18 -0
- data/doc/classes/Atari800.src/M000378.html +18 -0
- data/doc/classes/Atari800.src/M000379.html +18 -0
- data/doc/classes/Atari800.src/M000380.html +18 -0
- data/doc/classes/Atari800.src/M000381.html +18 -0
- data/doc/classes/Atari800.src/M000382.html +18 -0
- data/doc/classes/Atari800.src/M000383.html +18 -0
- data/doc/classes/Atari800.src/M000384.html +18 -0
- data/doc/classes/AtariBasic.html +10 -10
- data/doc/classes/AtariBasic.src/M000282.html +6 -94
- data/doc/classes/AtariBasic.src/M000283.html +108 -0
- data/doc/classes/AtariBasic.src/M000292.html +20 -0
- data/doc/classes/AtariBasic.src/M000293.html +108 -0
- data/doc/classes/AtariDos.html +10 -10
- data/doc/classes/AtariDos.src/M000412.html +4 -29
- data/doc/classes/AtariDos.src/M000413.html +43 -0
- data/doc/classes/AtariDos.src/M000424.html +18 -0
- data/doc/classes/AtariDos.src/M000425.html +43 -0
- data/doc/classes/AtariText.html +10 -10
- data/doc/classes/AtariText.src/M000336.html +6 -4
- data/doc/classes/AtariText.src/M000337.html +18 -0
- data/doc/classes/AtariText.src/M000346.html +20 -0
- data/doc/classes/AtariText.src/M000347.html +18 -0
- data/doc/classes/Atr.html +35 -35
- data/doc/classes/Atr.src/M000240.html +4 -4
- data/doc/classes/Atr.src/M000241.html +4 -5
- data/doc/classes/Atr.src/M000242.html +5 -4
- data/doc/classes/Atr.src/M000243.html +4 -4
- data/doc/classes/Atr.src/M000244.html +4 -5
- data/doc/classes/Atr.src/M000245.html +5 -5
- data/doc/classes/Atr.src/M000246.html +19 -0
- data/doc/classes/Atr.src/M000250.html +18 -0
- data/doc/classes/Atr.src/M000251.html +18 -0
- data/doc/classes/Atr.src/M000252.html +19 -0
- data/doc/classes/Atr.src/M000253.html +18 -0
- data/doc/classes/Atr.src/M000254.html +18 -0
- data/doc/classes/Atr.src/M000255.html +19 -0
- data/doc/classes/Atr.src/M000256.html +19 -0
- data/doc/classes/C64.html +105 -105
- data/doc/classes/C64.src/M000535.html +4 -4
- data/doc/classes/C64.src/M000536.html +4 -5
- data/doc/classes/C64.src/M000537.html +17 -5
- data/doc/classes/C64.src/M000538.html +6 -4
- data/doc/classes/C64.src/M000539.html +8 -4
- data/doc/classes/C64.src/M000540.html +8 -55
- data/doc/classes/C64.src/M000541.html +5 -99
- data/doc/classes/C64.src/M000542.html +19 -0
- data/doc/classes/C64.src/M000543.html +18 -0
- data/doc/classes/C64.src/M000544.html +18 -0
- data/doc/classes/C64.src/M000545.html +18 -0
- data/doc/classes/C64.src/M000546.html +18 -0
- data/doc/classes/C64.src/M000547.html +18 -0
- data/doc/classes/C64.src/M000548.html +18 -0
- data/doc/classes/C64.src/M000549.html +18 -0
- data/doc/classes/C64.src/M000550.html +31 -0
- data/doc/classes/C64.src/M000551.html +20 -0
- data/doc/classes/C64.src/M000552.html +22 -0
- data/doc/classes/C64.src/M000553.html +22 -0
- data/doc/classes/C64.src/M000554.html +19 -0
- data/doc/classes/C64.src/M000555.html +19 -0
- data/doc/classes/C64.src/M000556.html +18 -0
- data/doc/classes/C64.src/M000557.html +18 -0
- data/doc/classes/C64.src/M000558.html +18 -0
- data/doc/classes/C64.src/M000559.html +18 -0
- data/doc/classes/C64.src/M000560.html +18 -0
- data/doc/classes/C64.src/M000561.html +18 -0
- data/doc/classes/C64.src/M000562.html +18 -0
- data/doc/classes/C64.src/M000563.html +19 -0
- data/doc/classes/C64.src/M000564.html +19 -0
- data/doc/classes/C64.src/M000565.html +18 -0
- data/doc/classes/C64.src/M000566.html +18 -0
- data/doc/classes/C64.src/M000567.html +69 -0
- data/doc/classes/C64.src/M000568.html +113 -0
- data/doc/classes/C64BasicPrg.html +15 -15
- data/doc/classes/C64BasicPrg.src/M000115.html +7 -5
- data/doc/classes/C64BasicPrg.src/M000116.html +4 -45
- data/doc/classes/C64BasicPrg.src/M000117.html +20 -0
- data/doc/classes/C64BasicPrg.src/M000118.html +18 -0
- data/doc/classes/C64BasicPrg.src/M000119.html +59 -0
- data/doc/classes/C64GeoPaintPic.html +30 -30
- data/doc/classes/C64GeoPaintPic.src/M000417.html +4 -4
- data/doc/classes/C64GeoPaintPic.src/M000418.html +4 -4
- data/doc/classes/C64GeoPaintPic.src/M000419.html +4 -52
- data/doc/classes/C64GeoPaintPic.src/M000420.html +50 -27
- data/doc/classes/C64GeoPaintPic.src/M000421.html +29 -6
- data/doc/classes/C64GeoPaintPic.src/M000422.html +20 -0
- data/doc/classes/C64GeoPaintPic.src/M000429.html +18 -0
- data/doc/classes/C64GeoPaintPic.src/M000430.html +18 -0
- data/doc/classes/C64GeoPaintPic.src/M000431.html +18 -0
- data/doc/classes/C64GeoPaintPic.src/M000432.html +71 -0
- data/doc/classes/C64GeoPaintPic.src/M000433.html +43 -0
- data/doc/classes/C64GeoPaintPic.src/M000434.html +20 -0
- data/doc/classes/C64GeosBASICFile.html +10 -10
- data/doc/classes/C64GeosBASICFile.src/M000294.html +5 -4
- data/doc/classes/C64GeosBASICFile.src/M000295.html +18 -0
- data/doc/classes/C64GeosBASICFile.src/M000304.html +19 -0
- data/doc/classes/C64GeosBASICFile.src/M000305.html +18 -0
- data/doc/classes/C64GeosFile.html +167 -43
- data/doc/classes/C64GeosFile.src/M000141.html +4 -5
- data/doc/classes/C64GeosFile.src/M000142.html +4 -4
- data/doc/classes/C64GeosFile.src/M000143.html +4 -4
- data/doc/classes/C64GeosFile.src/M000144.html +5 -8
- data/doc/classes/C64GeosFile.src/M000145.html +5 -4
- data/doc/classes/C64GeosFile.src/M000146.html +4 -8
- data/doc/classes/C64GeosFile.src/M000147.html +5 -14
- data/doc/classes/C64GeosFile.src/M000148.html +4 -21
- data/doc/classes/C64GeosFile.src/M000149.html +8 -21
- data/doc/classes/C64GeosFile.src/M000150.html +18 -0
- data/doc/classes/C64GeosFile.src/M000151.html +22 -0
- data/doc/classes/C64GeosFile.src/M000152.html +27 -0
- data/doc/classes/C64GeosFile.src/M000153.html +19 -0
- data/doc/classes/C64GeosFile.src/M000154.html +39 -0
- data/doc/classes/C64GeosFile.src/M000155.html +18 -0
- data/doc/classes/C64GeosFile.src/M000156.html +18 -0
- data/doc/classes/C64GeosFile.src/M000157.html +18 -0
- data/doc/classes/C64GeosFile.src/M000158.html +21 -0
- data/doc/classes/C64GeosFile.src/M000159.html +35 -0
- data/doc/classes/C64GeosFont.html +90 -90
- data/doc/classes/C64GeosFont.src/M000180.html +4 -4
- data/doc/classes/C64GeosFont.src/M000181.html +4 -4
- data/doc/classes/C64GeosFont.src/M000182.html +4 -4
- data/doc/classes/C64GeosFont.src/M000183.html +4 -5
- data/doc/classes/C64GeosFont.src/M000184.html +4 -49
- data/doc/classes/C64GeosFont.src/M000185.html +49 -11
- data/doc/classes/C64GeosFont.src/M000186.html +11 -8
- data/doc/classes/C64GeosFont.src/M000187.html +8 -11
- data/doc/classes/C64GeosFont.src/M000188.html +12 -12
- data/doc/classes/C64GeosFont.src/M000189.html +10 -4
- data/doc/classes/C64GeosFont.src/M000190.html +4 -6
- data/doc/classes/C64GeosFont.src/M000191.html +4 -6
- data/doc/classes/C64GeosFont.src/M000192.html +4 -27
- data/doc/classes/C64GeosFont.src/M000193.html +4 -9
- data/doc/classes/C64GeosFont.src/M000194.html +6 -10
- data/doc/classes/C64GeosFont.src/M000195.html +51 -18
- data/doc/classes/C64GeosFont.src/M000196.html +12 -21
- data/doc/classes/C64GeosFont.src/M000197.html +23 -0
- data/doc/classes/C64GeosFont.src/M000198.html +26 -0
- data/doc/classes/C64GeosFont.src/M000199.html +26 -0
- data/doc/classes/C64GeosFont.src/M000200.html +20 -0
- data/doc/classes/C64GeosFont.src/M000201.html +20 -0
- data/doc/classes/C64GeosFont.src/M000202.html +20 -0
- data/doc/classes/C64GeosFont.src/M000203.html +41 -0
- data/doc/classes/C64GeosFont.src/M000204.html +23 -0
- data/doc/classes/C64GeosFont.src/M000205.html +23 -0
- data/doc/classes/C64GeosFont.src/M000206.html +31 -0
- data/doc/classes/C64GeosFont.src/M000207.html +35 -0
- data/doc/classes/C64GeosPhotoAlbum.html +169 -0
- data/doc/classes/C64GeosPhotoAlbum.src/M000114.html +18 -0
- data/doc/classes/C64GeosPhotoAlbum.src/M000115.html +19 -0
- data/doc/classes/C64GeosPhotoAlbum.src/M000116.html +39 -0
- data/doc/classes/C64PhotoScrap.html +349 -0
- data/doc/classes/C64PhotoScrap.src/M000445.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000446.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000447.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000448.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000449.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000450.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000451.html +21 -0
- data/doc/classes/C64PhotoScrap.src/M000452.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000453.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000454.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000455.html +53 -0
- data/doc/classes/C64PhotoScrap.src/M000456.html +44 -0
- data/doc/classes/C64PhotoScrap.src/M000457.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000458.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000459.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000460.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000461.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000462.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000463.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000464.html +21 -0
- data/doc/classes/C64PhotoScrap.src/M000465.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000466.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000467.html +18 -0
- data/doc/classes/C64PhotoScrap.src/M000468.html +53 -0
- data/doc/classes/C64PhotoScrap.src/M000469.html +45 -0
- data/doc/classes/C64PhotoScrap.src/M000470.html +24 -0
- data/doc/classes/C64Seq.html +15 -15
- data/doc/classes/C64Seq.src/M000397.html +6 -4
- data/doc/classes/C64Seq.src/M000398.html +4 -4
- data/doc/classes/C64Seq.src/M000399.html +18 -0
- data/doc/classes/C64Seq.src/M000409.html +20 -0
- data/doc/classes/C64Seq.src/M000410.html +18 -0
- data/doc/classes/C64Seq.src/M000411.html +18 -0
- data/doc/classes/CPMFile.html +15 -15
- data/doc/classes/CPMFile.src/M000177.html +6 -4
- data/doc/classes/CPMFile.src/M000178.html +5 -9
- data/doc/classes/CPMFile.src/M000187.html +20 -0
- data/doc/classes/CPMFile.src/M000188.html +18 -0
- data/doc/classes/CPMFile.src/M000189.html +22 -0
- data/doc/classes/CVT.html +10 -10
- data/doc/classes/CVT.src/M000500.html +18 -0
- data/doc/classes/CVT.src/M000501.html +18 -0
- data/doc/classes/CVT.src/M000513.html +18 -0
- data/doc/classes/CVT.src/M000514.html +18 -0
- data/doc/classes/CVTArchive.html +12 -12
- data/doc/classes/CVTArchive.src/M000386.html +4 -53
- data/doc/classes/CVTArchive.src/M000387.html +70 -0
- data/doc/classes/CVTArchive.src/M000398.html +18 -0
- data/doc/classes/CVTArchive.src/M000399.html +70 -0
- data/doc/classes/CbmDos.src/M000099.html +10 -7
- data/doc/classes/CbmDos.src/M000100.html +1 -1
- data/doc/classes/CbmDos.src/M000101.html +1 -1
- data/doc/classes/CbmDos.src/M000102.html +1 -1
- data/doc/classes/CbmDos.src/M000103.html +1 -1
- data/doc/classes/CbmDos.src/M000104.html +1 -1
- data/doc/classes/CbmDos.src/M000105.html +1 -1
- data/doc/classes/CbmDos.src/M000106.html +1 -1
- data/doc/classes/CbmDos.src/M000107.html +1 -1
- data/doc/classes/CbmFile.html +10 -10
- data/doc/classes/CbmFile.src/M000334.html +8 -4
- data/doc/classes/CbmFile.src/M000335.html +18 -0
- data/doc/classes/CbmFile.src/M000344.html +22 -0
- data/doc/classes/CbmFile.src/M000345.html +18 -0
- data/doc/classes/Coco.html +65 -65
- data/doc/classes/Coco.src/M000469.html +18 -0
- data/doc/classes/Coco.src/M000470.html +18 -0
- data/doc/classes/Coco.src/M000471.html +18 -0
- data/doc/classes/Coco.src/M000472.html +18 -0
- data/doc/classes/Coco.src/M000473.html +18 -0
- data/doc/classes/Coco.src/M000474.html +18 -0
- data/doc/classes/Coco.src/M000475.html +18 -0
- data/doc/classes/Coco.src/M000476.html +18 -0
- data/doc/classes/Coco.src/M000477.html +18 -0
- data/doc/classes/Coco.src/M000478.html +18 -0
- data/doc/classes/Coco.src/M000479.html +18 -0
- data/doc/classes/Coco.src/M000480.html +18 -0
- data/doc/classes/Coco.src/M000481.html +55 -0
- data/doc/classes/Coco.src/M000482.html +18 -0
- data/doc/classes/Coco.src/M000483.html +18 -0
- data/doc/classes/Coco.src/M000484.html +18 -0
- data/doc/classes/Coco.src/M000485.html +18 -0
- data/doc/classes/Coco.src/M000486.html +18 -0
- data/doc/classes/Coco.src/M000487.html +18 -0
- data/doc/classes/Coco.src/M000488.html +18 -0
- data/doc/classes/Coco.src/M000489.html +18 -0
- data/doc/classes/Coco.src/M000490.html +18 -0
- data/doc/classes/Coco.src/M000491.html +18 -0
- data/doc/classes/Coco.src/M000492.html +18 -0
- data/doc/classes/Coco.src/M000493.html +18 -0
- data/doc/classes/Coco.src/M000494.html +55 -0
- data/doc/classes/CocoBasic.html +10 -10
- data/doc/classes/CocoBasic.src/M000415.html +6 -58
- data/doc/classes/CocoBasic.src/M000416.html +72 -0
- data/doc/classes/CocoBasic.src/M000427.html +20 -0
- data/doc/classes/CocoBasic.src/M000428.html +72 -0
- data/doc/classes/CocoMachineLanguage.html +15 -15
- data/doc/classes/CocoMachineLanguage.src/M000138.html +6 -4
- data/doc/classes/CocoMachineLanguage.src/M000139.html +4 -5
- data/doc/classes/CocoMachineLanguage.src/M000140.html +20 -0
- data/doc/classes/CocoMachineLanguage.src/M000141.html +18 -0
- data/doc/classes/CocoMachineLanguage.src/M000142.html +19 -0
- data/doc/classes/CocoScreen.html +20 -20
- data/doc/classes/CocoScreen.src/M000278.html +4 -4
- data/doc/classes/CocoScreen.src/M000279.html +4 -4
- data/doc/classes/CocoScreen.src/M000280.html +4 -4
- data/doc/classes/CocoScreen.src/M000281.html +18 -0
- data/doc/classes/CocoScreen.src/M000288.html +18 -0
- data/doc/classes/CocoScreen.src/M000289.html +18 -0
- data/doc/classes/CocoScreen.src/M000290.html +18 -0
- data/doc/classes/CocoScreen.src/M000291.html +18 -0
- data/doc/classes/D81.html +45 -45
- data/doc/classes/D81.src/M000425.html +4 -4
- data/doc/classes/D81.src/M000426.html +4 -4
- data/doc/classes/D81.src/M000427.html +4 -4
- data/doc/classes/D81.src/M000428.html +4 -4
- data/doc/classes/D81.src/M000429.html +4 -4
- data/doc/classes/D81.src/M000430.html +4 -4
- data/doc/classes/D81.src/M000431.html +4 -9
- data/doc/classes/D81.src/M000432.html +7 -8
- data/doc/classes/D81.src/M000433.html +24 -0
- data/doc/classes/D81.src/M000437.html +18 -0
- data/doc/classes/D81.src/M000438.html +18 -0
- data/doc/classes/D81.src/M000439.html +18 -0
- data/doc/classes/D81.src/M000440.html +18 -0
- data/doc/classes/D81.src/M000441.html +18 -0
- data/doc/classes/D81.src/M000442.html +18 -0
- data/doc/classes/D81.src/M000443.html +18 -0
- data/doc/classes/D81.src/M000444.html +23 -0
- data/doc/classes/D81.src/M000445.html +24 -0
- data/doc/classes/DumpUtilities.html +10 -10
- data/doc/classes/DumpUtilities.src/M000218.html +19 -13
- data/doc/classes/DumpUtilities.src/M000219.html +27 -0
- data/doc/classes/DumpUtilities.src/M000228.html +33 -0
- data/doc/classes/DumpUtilities.src/M000229.html +27 -0
- data/doc/classes/FileCache.html +85 -55
- data/doc/classes/FileCache.src/M000375.html +12 -6
- data/doc/classes/FileCache.src/M000376.html +6 -10
- data/doc/classes/FileCache.src/M000377.html +10 -8
- data/doc/classes/FileCache.src/M000378.html +6 -16
- data/doc/classes/FileCache.src/M000379.html +18 -7
- data/doc/classes/FileCache.src/M000380.html +7 -8
- data/doc/classes/FileCache.src/M000381.html +7 -8
- data/doc/classes/FileCache.src/M000382.html +8 -12
- data/doc/classes/FileCache.src/M000383.html +13 -10
- data/doc/classes/FileCache.src/M000384.html +10 -7
- data/doc/classes/FileCache.src/M000385.html +26 -0
- data/doc/classes/FileCache.src/M000386.html +20 -0
- data/doc/classes/FileCache.src/M000387.html +18 -0
- data/doc/classes/FileCache.src/M000388.html +24 -0
- data/doc/classes/FileCache.src/M000389.html +22 -0
- data/doc/classes/FileCache.src/M000390.html +32 -0
- data/doc/classes/FileCache.src/M000391.html +21 -0
- data/doc/classes/FileCache.src/M000392.html +22 -0
- data/doc/classes/FileCache.src/M000393.html +23 -0
- data/doc/classes/FileCache.src/M000394.html +27 -0
- data/doc/classes/FileCache.src/M000395.html +24 -0
- data/doc/classes/FileCache.src/M000396.html +24 -0
- data/doc/classes/FileCache.src/M000397.html +21 -0
- data/doc/classes/FileContainer.html +5 -5
- data/doc/classes/FileContainer.src/M000458.html +26 -0
- data/doc/classes/FileContainer.src/M000471.html +26 -0
- data/doc/classes/FileSystem.html +41 -41
- data/doc/classes/FileSystem.src/M000434.html +4 -4
- data/doc/classes/FileSystem.src/M000435.html +4 -4
- data/doc/classes/FileSystem.src/M000436.html +4 -4
- data/doc/classes/FileSystem.src/M000437.html +4 -4
- data/doc/classes/FileSystem.src/M000438.html +5 -5
- data/doc/classes/FileSystem.src/M000439.html +4 -6
- data/doc/classes/FileSystem.src/M000440.html +6 -11
- data/doc/classes/FileSystem.src/M000441.html +25 -0
- data/doc/classes/FileSystem.src/M000446.html +18 -0
- data/doc/classes/FileSystem.src/M000447.html +18 -0
- data/doc/classes/FileSystem.src/M000448.html +18 -0
- data/doc/classes/FileSystem.src/M000449.html +18 -0
- data/doc/classes/FileSystem.src/M000450.html +18 -0
- data/doc/classes/FileSystem.src/M000451.html +18 -0
- data/doc/classes/FileSystem.src/M000452.html +20 -0
- data/doc/classes/FileSystem.src/M000453.html +25 -0
- data/doc/classes/FileSystemImage.html +127 -127
- data/doc/classes/FileSystemImage.src/M000297.html +7 -26
- data/doc/classes/FileSystemImage.src/M000298.html +25 -11
- data/doc/classes/FileSystemImage.src/M000299.html +13 -4
- data/doc/classes/FileSystemImage.src/M000300.html +4 -4
- data/doc/classes/FileSystemImage.src/M000301.html +4 -5
- data/doc/classes/FileSystemImage.src/M000302.html +5 -4
- data/doc/classes/FileSystemImage.src/M000303.html +4 -8
- data/doc/classes/FileSystemImage.src/M000304.html +9 -6
- data/doc/classes/FileSystemImage.src/M000305.html +6 -5
- data/doc/classes/FileSystemImage.src/M000306.html +4 -4
- data/doc/classes/FileSystemImage.src/M000307.html +8 -4
- data/doc/classes/FileSystemImage.src/M000308.html +27 -4
- data/doc/classes/FileSystemImage.src/M000309.html +14 -7
- data/doc/classes/FileSystemImage.src/M000310.html +5 -9
- data/doc/classes/FileSystemImage.src/M000311.html +5 -9
- data/doc/classes/FileSystemImage.src/M000312.html +5 -4
- data/doc/classes/FileSystemImage.src/M000313.html +4 -9
- data/doc/classes/FileSystemImage.src/M000314.html +8 -9
- data/doc/classes/FileSystemImage.src/M000315.html +5 -11
- data/doc/classes/FileSystemImage.src/M000316.html +4 -4
- data/doc/classes/FileSystemImage.src/M000317.html +4 -4
- data/doc/classes/FileSystemImage.src/M000318.html +4 -4
- data/doc/classes/FileSystemImage.src/M000319.html +4 -13
- data/doc/classes/FileSystemImage.src/M000320.html +7 -7
- data/doc/classes/FileSystemImage.src/M000321.html +22 -0
- data/doc/classes/FileSystemImage.src/M000322.html +22 -0
- data/doc/classes/FileSystemImage.src/M000323.html +18 -0
- data/doc/classes/FileSystemImage.src/M000324.html +24 -0
- data/doc/classes/FileSystemImage.src/M000325.html +23 -0
- data/doc/classes/FileSystemImage.src/M000326.html +25 -0
- data/doc/classes/FileSystemImage.src/M000327.html +18 -0
- data/doc/classes/FileSystemImage.src/M000328.html +18 -0
- data/doc/classes/FileSystemImage.src/M000329.html +18 -0
- data/doc/classes/FileSystemImage.src/M000330.html +27 -0
- data/doc/classes/FileSystemImage.src/M000331.html +20 -0
- data/doc/classes/GenericFile.html +10 -10
- data/doc/classes/GenericFile.src/M000236.html +6 -4
- data/doc/classes/GenericFile.src/M000237.html +18 -0
- data/doc/classes/GenericFile.src/M000246.html +20 -0
- data/doc/classes/GenericFile.src/M000247.html +18 -0
- data/doc/classes/GenericGIF.html +25 -25
- data/doc/classes/GenericGIF.src/M000564.html +18 -0
- data/doc/classes/GenericGIF.src/M000565.html +18 -0
- data/doc/classes/GenericGIF.src/M000566.html +18 -0
- data/doc/classes/GenericGIF.src/M000567.html +18 -0
- data/doc/classes/GenericGIF.src/M000568.html +18 -0
- data/doc/classes/GenericGIF.src/M000577.html +18 -0
- data/doc/classes/GenericGIF.src/M000578.html +18 -0
- data/doc/classes/GenericGIF.src/M000579.html +18 -0
- data/doc/classes/GenericGIF.src/M000580.html +18 -0
- data/doc/classes/GenericGIF.src/M000581.html +18 -0
- data/doc/classes/HostSystem.html +91 -91
- data/doc/classes/HostSystem.src/M000482.html +5 -5
- data/doc/classes/HostSystem.src/M000483.html +9 -5
- data/doc/classes/HostSystem.src/M000484.html +5 -16
- data/doc/classes/HostSystem.src/M000485.html +4 -4
- data/doc/classes/HostSystem.src/M000486.html +22 -0
- data/doc/classes/HostSystem.src/M000487.html +33 -0
- data/doc/classes/HostSystem.src/M000488.html +18 -0
- data/doc/classes/HostSystem.src/M000489.html +19 -0
- data/doc/classes/HostSystem.src/M000490.html +18 -0
- data/doc/classes/HostSystem.src/M000491.html +18 -0
- data/doc/classes/HostSystem.src/M000492.html +18 -0
- data/doc/classes/HostSystem.src/M000493.html +18 -0
- data/doc/classes/HostSystem.src/M000494.html +18 -0
- data/doc/classes/HostSystem.src/M000495.html +18 -0
- data/doc/classes/HostSystem.src/M000496.html +22 -0
- data/doc/classes/HostSystem.src/M000497.html +18 -0
- data/doc/classes/HostSystem.src/M000498.html +18 -0
- data/doc/classes/HostSystem.src/M000499.html +22 -0
- data/doc/classes/HostSystem.src/M000500.html +33 -0
- data/doc/classes/HostSystem.src/M000501.html +18 -0
- data/doc/classes/HostSystem.src/M000502.html +19 -0
- data/doc/classes/HostSystem.src/M000503.html +18 -0
- data/doc/classes/HostSystem.src/M000504.html +18 -0
- data/doc/classes/HostSystem.src/M000505.html +18 -0
- data/doc/classes/HostSystem.src/M000506.html +18 -0
- data/doc/classes/HostSystem.src/M000507.html +18 -0
- data/doc/classes/HostSystem.src/M000508.html +18 -0
- data/doc/classes/HostSystem.src/M000509.html +18 -0
- data/doc/classes/HostSystem.src/M000510.html +18 -0
- data/doc/classes/HostSystem.src/M000511.html +29 -0
- data/doc/classes/HostSystem.src/M000512.html +18 -0
- data/doc/classes/ImageFormat.html +85 -85
- data/doc/classes/ImageFormat.src/M000198.html +4 -4
- data/doc/classes/ImageFormat.src/M000199.html +4 -4
- data/doc/classes/ImageFormat.src/M000200.html +3 -3
- data/doc/classes/ImageFormat.src/M000201.html +4 -4
- data/doc/classes/ImageFormat.src/M000202.html +4 -8
- data/doc/classes/ImageFormat.src/M000203.html +8 -5
- data/doc/classes/ImageFormat.src/M000204.html +5 -4
- data/doc/classes/ImageFormat.src/M000205.html +4 -4
- data/doc/classes/ImageFormat.src/M000206.html +4 -4
- data/doc/classes/ImageFormat.src/M000207.html +4 -4
- data/doc/classes/ImageFormat.src/M000208.html +4 -4
- data/doc/classes/ImageFormat.src/M000209.html +4 -4
- data/doc/classes/ImageFormat.src/M000210.html +4 -4
- data/doc/classes/ImageFormat.src/M000211.html +4 -6
- data/doc/classes/ImageFormat.src/M000212.html +4 -12
- data/doc/classes/ImageFormat.src/M000213.html +8 -4
- data/doc/classes/ImageFormat.src/M000214.html +19 -0
- data/doc/classes/ImageFormat.src/M000215.html +18 -0
- data/doc/classes/ImageFormat.src/M000216.html +18 -0
- data/doc/classes/ImageFormat.src/M000217.html +18 -0
- data/doc/classes/ImageFormat.src/M000218.html +18 -0
- data/doc/classes/ImageFormat.src/M000219.html +18 -0
- data/doc/classes/ImageFormat.src/M000220.html +18 -0
- data/doc/classes/ImageFormat.src/M000221.html +18 -0
- data/doc/classes/ImageFormat.src/M000222.html +20 -0
- data/doc/classes/ImageFormat.src/M000223.html +26 -0
- data/doc/classes/ImageFormat.src/M000224.html +18 -0
- data/doc/classes/ImageSniffing.html +40 -40
- data/doc/classes/ImageSniffing.src/M000512.html +120 -0
- data/doc/classes/ImageSniffing.src/M000513.html +36 -0
- data/doc/classes/ImageSniffing.src/M000514.html +130 -0
- data/doc/classes/ImageSniffing.src/M000515.html +47 -0
- data/doc/classes/ImageSniffing.src/M000516.html +46 -0
- data/doc/classes/ImageSniffing.src/M000517.html +59 -0
- data/doc/classes/ImageSniffing.src/M000518.html +74 -0
- data/doc/classes/ImageSniffing.src/M000519.html +44 -0
- data/doc/classes/ImageSniffing.src/M000525.html +120 -0
- data/doc/classes/ImageSniffing.src/M000526.html +36 -0
- data/doc/classes/ImageSniffing.src/M000527.html +155 -0
- data/doc/classes/ImageSniffing.src/M000528.html +47 -0
- data/doc/classes/ImageSniffing.src/M000529.html +46 -0
- data/doc/classes/ImageSniffing.src/M000530.html +59 -0
- data/doc/classes/ImageSniffing.src/M000531.html +74 -0
- data/doc/classes/ImageSniffing.src/M000532.html +44 -0
- data/doc/classes/IntegerBASIC.html +10 -10
- data/doc/classes/IntegerBASIC.src/M000290.html +6 -72
- data/doc/classes/IntegerBASIC.src/M000291.html +86 -0
- data/doc/classes/IntegerBASIC.src/M000300.html +20 -0
- data/doc/classes/IntegerBASIC.src/M000301.html +86 -0
- data/doc/classes/JvcDsk.html +30 -30
- data/doc/classes/JvcDsk.src/M000284.html +4 -25
- data/doc/classes/JvcDsk.src/M000285.html +25 -4
- data/doc/classes/JvcDsk.src/M000286.html +4 -4
- data/doc/classes/JvcDsk.src/M000287.html +4 -4
- data/doc/classes/JvcDsk.src/M000288.html +4 -8
- data/doc/classes/JvcDsk.src/M000289.html +22 -0
- data/doc/classes/JvcDsk.src/M000294.html +18 -0
- data/doc/classes/JvcDsk.src/M000295.html +39 -0
- data/doc/classes/JvcDsk.src/M000296.html +18 -0
- data/doc/classes/JvcDsk.src/M000297.html +18 -0
- data/doc/classes/JvcDsk.src/M000298.html +18 -0
- data/doc/classes/JvcDsk.src/M000299.html +22 -0
- data/doc/classes/MBasic.html +10 -10
- data/doc/classes/MBasic.src/M000238.html +6 -8
- data/doc/classes/MBasic.src/M000239.html +22 -0
- data/doc/classes/MBasic.src/M000248.html +20 -0
- data/doc/classes/MBasic.src/M000249.html +22 -0
- data/doc/classes/NADOLDos.html +10 -10
- data/doc/classes/NADOLDos.src/M000155.html +5 -39
- data/doc/classes/NADOLDos.src/M000165.html +18 -0
- data/doc/classes/NADOLDos.src/M000166.html +52 -0
- data/doc/classes/NADOLPic.html +10 -10
- data/doc/classes/NADOLPic.src/M000118.html +6 -4
- data/doc/classes/NADOLPic.src/M000119.html +18 -0
- data/doc/classes/NADOLPic.src/M000120.html +20 -0
- data/doc/classes/NADOLPic.src/M000121.html +18 -0
- data/doc/classes/NADOLTokens.html +5 -5
- data/doc/classes/NADOLTokens.src/M000120.html +41 -0
- data/doc/classes/NADOLTokens.src/M000122.html +41 -0
- data/doc/classes/NativeFileType.html +101 -101
- data/doc/classes/NativeFileType.src/M000258.html +10 -5
- data/doc/classes/NativeFileType.src/M000259.html +4 -4
- data/doc/classes/NativeFileType.src/M000260.html +4 -4
- data/doc/classes/NativeFileType.src/M000261.html +4 -8
- data/doc/classes/NativeFileType.src/M000262.html +8 -4
- data/doc/classes/NativeFileType.src/M000263.html +4 -4
- data/doc/classes/NativeFileType.src/M000264.html +3 -3
- data/doc/classes/NativeFileType.src/M000265.html +4 -9
- data/doc/classes/NativeFileType.src/M000266.html +9 -4
- data/doc/classes/NativeFileType.src/M000267.html +4 -8
- data/doc/classes/NativeFileType.src/M000268.html +10 -5
- data/doc/classes/NativeFileType.src/M000269.html +4 -10
- data/doc/classes/NativeFileType.src/M000270.html +5 -28
- data/doc/classes/NativeFileType.src/M000271.html +5 -11
- data/doc/classes/NativeFileType.src/M000272.html +9 -5
- data/doc/classes/NativeFileType.src/M000273.html +5 -5
- data/doc/classes/NativeFileType.src/M000274.html +5 -5
- data/doc/classes/NativeFileType.src/M000275.html +5 -7
- data/doc/classes/NativeFileType.src/M000276.html +10 -15
- data/doc/classes/NativeFileType.src/M000277.html +18 -0
- data/doc/classes/NativeFileType.src/M000278.html +22 -0
- data/doc/classes/NativeFileType.src/M000279.html +18 -0
- data/doc/classes/NativeFileType.src/M000280.html +24 -0
- data/doc/classes/NativeFileType.src/M000281.html +46 -0
- data/doc/classes/NativeFileType.src/M000282.html +24 -0
- data/doc/classes/NativeFileType.src/M000283.html +18 -0
- data/doc/classes/NativeFileType.src/M000284.html +18 -0
- data/doc/classes/NativeFileType.src/M000285.html +18 -0
- data/doc/classes/NativeFileType.src/M000286.html +20 -0
- data/doc/classes/NativeFileType.src/M000287.html +28 -0
- data/doc/classes/PackedProDosPic.html +5 -5
- data/doc/classes/PackedProDosPic.src/M000414.html +40 -0
- data/doc/classes/PackedProDosPic.src/M000426.html +40 -0
- data/doc/classes/PascalDos.html +15 -15
- data/doc/classes/PascalDos.src/M000524.html +18 -0
- data/doc/classes/PascalDos.src/M000525.html +21 -0
- data/doc/classes/PascalDos.src/M000526.html +62 -0
- data/doc/classes/PascalDos.src/M000537.html +18 -0
- data/doc/classes/PascalDos.src/M000538.html +21 -0
- data/doc/classes/PascalDos.src/M000539.html +62 -0
- data/doc/classes/PascalFile.html +10 -10
- data/doc/classes/PascalFile.src/M000153.html +7 -5
- data/doc/classes/PascalFile.src/M000163.html +20 -0
- data/doc/classes/PascalFile.src/M000164.html +18 -0
- data/doc/classes/PascalPic.html +10 -10
- data/doc/classes/PascalPic.src/M000506.html +20 -0
- data/doc/classes/PascalPic.src/M000507.html +18 -0
- data/doc/classes/PascalPic.src/M000519.html +20 -0
- data/doc/classes/PascalPic.src/M000520.html +18 -0
- data/doc/classes/ProDosBINFile.html +20 -20
- data/doc/classes/ProDosBINFile.src/M000502.html +20 -0
- data/doc/classes/ProDosBINFile.src/M000503.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000504.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000505.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000515.html +20 -0
- data/doc/classes/ProDosBINFile.src/M000516.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000517.html +18 -0
- data/doc/classes/ProDosBINFile.src/M000518.html +18 -0
- data/doc/classes/ProDosBinPic.html +15 -15
- data/doc/classes/ProDosBinPic.src/M000150.html +7 -5
- data/doc/classes/ProDosBinPic.src/M000151.html +4 -4
- data/doc/classes/ProDosBinPic.src/M000160.html +20 -0
- data/doc/classes/ProDosBinPic.src/M000161.html +18 -0
- data/doc/classes/ProDosBinPic.src/M000162.html +18 -0
- data/doc/classes/ProDosFile.html +15 -15
- data/doc/classes/ProDosFile.src/M000220.html +6 -4
- data/doc/classes/ProDosFile.src/M000221.html +4 -5
- data/doc/classes/ProDosFile.src/M000222.html +19 -0
- data/doc/classes/ProDosFile.src/M000230.html +20 -0
- data/doc/classes/ProDosFile.src/M000231.html +18 -0
- data/doc/classes/ProDosFile.src/M000232.html +19 -0
- data/doc/classes/Proc.html +55 -55
- data/doc/classes/Proc.src/M000225.html +7 -5
- data/doc/classes/Proc.src/M000226.html +5 -8
- data/doc/classes/Proc.src/M000227.html +6 -6
- data/doc/classes/Proc.src/M000228.html +6 -6
- data/doc/classes/Proc.src/M000229.html +8 -5
- data/doc/classes/Proc.src/M000230.html +6 -3
- data/doc/classes/Proc.src/M000231.html +3 -7
- data/doc/classes/Proc.src/M000232.html +6 -4
- data/doc/classes/Proc.src/M000233.html +5 -3
- data/doc/classes/Proc.src/M000234.html +2 -2
- data/doc/classes/Proc.src/M000235.html +21 -0
- data/doc/classes/Proc.src/M000236.html +19 -0
- data/doc/classes/Proc.src/M000237.html +22 -0
- data/doc/classes/Proc.src/M000238.html +22 -0
- data/doc/classes/Proc.src/M000239.html +22 -0
- data/doc/classes/Proc.src/M000240.html +19 -0
- data/doc/classes/Proc.src/M000241.html +16 -0
- data/doc/classes/Proc.src/M000242.html +20 -0
- data/doc/classes/Proc.src/M000243.html +18 -0
- data/doc/classes/Proc.src/M000244.html +16 -0
- data/doc/classes/Proc.src/M000245.html +16 -0
- data/doc/classes/ProcSource.html +10 -10
- data/doc/classes/ProcSource.src/M000562.html +38 -0
- data/doc/classes/ProcSource.src/M000563.html +109 -0
- data/doc/classes/ProcSource.src/M000575.html +38 -0
- data/doc/classes/ProcSource.src/M000576.html +109 -0
- data/doc/classes/RDoc.html +5 -5
- data/doc/classes/RDoc.src/M000561.html +40 -0
- data/doc/classes/RDoc.src/M000574.html +40 -0
- data/doc/classes/RawDisk.html +10 -10
- data/doc/classes/RawDisk.src/M000338.html +4 -9
- data/doc/classes/RawDisk.src/M000339.html +23 -0
- data/doc/classes/RawDisk.src/M000348.html +18 -0
- data/doc/classes/RawDisk.src/M000349.html +23 -0
- data/doc/classes/RipXplore.html +1 -1
- data/doc/classes/RipXploreLog.html +15 -15
- data/doc/classes/RipXploreLog.src/M000174.html +4 -6
- data/doc/classes/RipXploreLog.src/M000175.html +6 -4
- data/doc/classes/RipXploreLog.src/M000184.html +18 -0
- data/doc/classes/RipXploreLog.src/M000185.html +20 -0
- data/doc/classes/RipXploreLog.src/M000186.html +18 -0
- data/doc/classes/RsDos.html +20 -20
- data/doc/classes/RsDos.src/M000508.html +18 -0
- data/doc/classes/RsDos.src/M000509.html +18 -0
- data/doc/classes/RsDos.src/M000510.html +18 -0
- data/doc/classes/RsDos.src/M000511.html +62 -0
- data/doc/classes/RsDos.src/M000521.html +18 -0
- data/doc/classes/RsDos.src/M000522.html +18 -0
- data/doc/classes/RsDos.src/M000523.html +18 -0
- data/doc/classes/RsDos.src/M000524.html +62 -0
- data/doc/classes/ScAsm.html +5 -5
- data/doc/classes/ScAsm.src/M000520.html +45 -0
- data/doc/classes/ScAsm.src/M000533.html +45 -0
- data/doc/classes/ScreenDump.html +5 -5
- data/doc/classes/ScreenDump.src/M000560.html +24 -0
- data/doc/classes/ScreenDump.src/M000573.html +24 -0
- data/doc/classes/ScreenDumps.html +15 -15
- data/doc/classes/ScreenDumps.src/M000390.html +8 -10
- data/doc/classes/ScreenDumps.src/M000391.html +10 -21
- data/doc/classes/ScreenDumps.src/M000392.html +35 -0
- data/doc/classes/ScreenDumps.src/M000402.html +22 -0
- data/doc/classes/ScreenDumps.src/M000403.html +24 -0
- data/doc/classes/ScreenDumps.src/M000404.html +35 -0
- data/doc/classes/ScrunchedAppleDosPic.html +5 -5
- data/doc/classes/ScrunchedAppleDosPic.src/M000296.html +37 -0
- data/doc/classes/ScrunchedAppleDosPic.src/M000306.html +37 -0
- data/doc/classes/SubclassTracking.html +5 -5
- data/doc/classes/SubclassTracking.src/M000569.html +23 -0
- data/doc/classes/SubclassTracking.src/M000582.html +23 -0
- data/doc/classes/Ti99.html +60 -60
- data/doc/classes/Ti99.src/M000162.html +4 -4
- data/doc/classes/Ti99.src/M000163.html +4 -4
- data/doc/classes/Ti99.src/M000164.html +4 -4
- data/doc/classes/Ti99.src/M000165.html +4 -4
- data/doc/classes/Ti99.src/M000166.html +4 -4
- data/doc/classes/Ti99.src/M000167.html +4 -4
- data/doc/classes/Ti99.src/M000168.html +4 -4
- data/doc/classes/Ti99.src/M000169.html +4 -4
- data/doc/classes/Ti99.src/M000170.html +4 -4
- data/doc/classes/Ti99.src/M000171.html +4 -4
- data/doc/classes/Ti99.src/M000172.html +4 -4
- data/doc/classes/Ti99.src/M000173.html +4 -4
- data/doc/classes/Ti99.src/M000174.html +18 -0
- data/doc/classes/Ti99.src/M000175.html +18 -0
- data/doc/classes/Ti99.src/M000176.html +18 -0
- data/doc/classes/Ti99.src/M000177.html +18 -0
- data/doc/classes/Ti99.src/M000178.html +18 -0
- data/doc/classes/Ti99.src/M000179.html +18 -0
- data/doc/classes/Ti99.src/M000180.html +18 -0
- data/doc/classes/Ti99.src/M000181.html +18 -0
- data/doc/classes/Ti99.src/M000182.html +18 -0
- data/doc/classes/Ti99.src/M000183.html +18 -0
- data/doc/classes/Ti99BasicFile.html +5 -5
- data/doc/classes/Ti99BasicFile.src/M000361.html +72 -0
- data/doc/classes/Ti99BasicFile.src/M000371.html +72 -0
- data/doc/classes/Ti99File.html +10 -10
- data/doc/classes/Ti99File.src/M000292.html +6 -4
- data/doc/classes/Ti99File.src/M000293.html +18 -0
- data/doc/classes/Ti99File.src/M000302.html +20 -0
- data/doc/classes/Ti99File.src/M000303.html +18 -0
- data/doc/classes/Ti99Fms.html +10 -10
- data/doc/classes/Ti99Fms.src/M000467.html +18 -0
- data/doc/classes/Ti99Fms.src/M000468.html +77 -0
- data/doc/classes/Ti99Fms.src/M000480.html +18 -0
- data/doc/classes/Ti99Fms.src/M000481.html +77 -0
- data/doc/classes/Ti99TextFile.html +10 -10
- data/doc/classes/Ti99TextFile.src/M000533.html +33 -0
- data/doc/classes/Ti99TextFile.src/M000534.html +18 -0
- data/doc/classes/Ti99TextFile.src/M000546.html +33 -0
- data/doc/classes/Ti99TextFile.src/M000547.html +18 -0
- data/doc/classes/TiArtistPattern.html +20 -20
- data/doc/classes/TiArtistPattern.src/M000393.html +36 -4
- data/doc/classes/TiArtistPattern.src/M000394.html +4 -4
- data/doc/classes/TiArtistPattern.src/M000395.html +4 -4
- data/doc/classes/TiArtistPattern.src/M000396.html +18 -0
- data/doc/classes/TiArtistPattern.src/M000405.html +50 -0
- data/doc/classes/TiArtistPattern.src/M000406.html +18 -0
- data/doc/classes/TiArtistPattern.src/M000407.html +18 -0
- data/doc/classes/TiArtistPattern.src/M000408.html +18 -0
- data/doc/classes/TiRLE.html +20 -20
- data/doc/classes/TiRLE.src/M000529.html +22 -0
- data/doc/classes/TiRLE.src/M000530.html +22 -0
- data/doc/classes/TiRLE.src/M000531.html +43 -0
- data/doc/classes/TiRLE.src/M000532.html +18 -0
- data/doc/classes/TiRLE.src/M000542.html +22 -0
- data/doc/classes/TiRLE.src/M000543.html +22 -0
- data/doc/classes/TiRLE.src/M000544.html +43 -0
- data/doc/classes/TiRLE.src/M000545.html +18 -0
- data/doc/classes/Trs80.html +55 -55
- data/doc/classes/Trs80.src/M000340.html +4 -4
- data/doc/classes/Trs80.src/M000341.html +4 -4
- data/doc/classes/Trs80.src/M000342.html +4 -4
- data/doc/classes/Trs80.src/M000343.html +4 -4
- data/doc/classes/Trs80.src/M000344.html +4 -4
- data/doc/classes/Trs80.src/M000345.html +4 -4
- data/doc/classes/Trs80.src/M000346.html +4 -4
- data/doc/classes/Trs80.src/M000347.html +4 -4
- data/doc/classes/Trs80.src/M000348.html +4 -4
- data/doc/classes/Trs80.src/M000349.html +4 -4
- data/doc/classes/Trs80.src/M000350.html +18 -0
- data/doc/classes/Trs80.src/M000351.html +18 -0
- data/doc/classes/Trs80.src/M000352.html +18 -0
- data/doc/classes/Trs80.src/M000353.html +18 -0
- data/doc/classes/Trs80.src/M000354.html +18 -0
- data/doc/classes/Trs80.src/M000355.html +18 -0
- data/doc/classes/Trs80.src/M000356.html +18 -0
- data/doc/classes/Trs80.src/M000357.html +18 -0
- data/doc/classes/Trs80.src/M000358.html +18 -0
- data/doc/classes/Trs80.src/M000359.html +18 -0
- data/doc/classes/Trs80.src/M000360.html +18 -0
- data/doc/classes/Trs80BasicListing.html +15 -15
- data/doc/classes/Trs80BasicListing.src/M000358.html +6 -4
- data/doc/classes/Trs80BasicListing.src/M000359.html +4 -4
- data/doc/classes/Trs80BasicListing.src/M000360.html +18 -0
- data/doc/classes/Trs80BasicListing.src/M000368.html +20 -0
- data/doc/classes/Trs80BasicListing.src/M000369.html +18 -0
- data/doc/classes/Trs80BasicListing.src/M000370.html +18 -0
- data/doc/classes/Trs80LevelIIBasic.html +15 -15
- data/doc/classes/Trs80LevelIIBasic.src/M000135.html +6 -4
- data/doc/classes/Trs80LevelIIBasic.src/M000136.html +4 -29
- data/doc/classes/Trs80LevelIIBasic.src/M000137.html +20 -0
- data/doc/classes/Trs80LevelIIBasic.src/M000138.html +18 -0
- data/doc/classes/Trs80LevelIIBasic.src/M000139.html +43 -0
- data/doc/classes/Trs80PascalSource.html +10 -10
- data/doc/classes/Trs80PascalSource.src/M000527.html +20 -0
- data/doc/classes/Trs80PascalSource.src/M000528.html +30 -0
- data/doc/classes/Trs80PascalSource.src/M000540.html +20 -0
- data/doc/classes/Trs80PascalSource.src/M000541.html +30 -0
- data/doc/classes/Trs80Text.html +15 -15
- data/doc/classes/Trs80Text.src/M000442.html +6 -4
- data/doc/classes/Trs80Text.src/M000443.html +4 -4
- data/doc/classes/Trs80Text.src/M000444.html +18 -0
- data/doc/classes/Trs80Text.src/M000454.html +20 -0
- data/doc/classes/Trs80Text.src/M000455.html +18 -0
- data/doc/classes/Trs80Text.src/M000456.html +18 -0
- data/doc/classes/TrsDos.html +20 -20
- data/doc/classes/TrsDos.src/M000408.html +4 -4
- data/doc/classes/TrsDos.src/M000409.html +4 -4
- data/doc/classes/TrsDos.src/M000410.html +4 -50
- data/doc/classes/TrsDos.src/M000411.html +64 -0
- data/doc/classes/TrsDos.src/M000420.html +18 -0
- data/doc/classes/TrsDos.src/M000421.html +18 -0
- data/doc/classes/TrsDos.src/M000422.html +18 -0
- data/doc/classes/TrsDos.src/M000423.html +64 -0
- data/doc/classes/Zx81.html +25 -25
- data/doc/classes/Zx81.src/M000326.html +4 -192
- data/doc/classes/Zx81.src/M000327.html +192 -4
- data/doc/classes/Zx81.src/M000328.html +4 -9
- data/doc/classes/Zx81.src/M000329.html +8 -14
- data/doc/classes/Zx81.src/M000330.html +29 -0
- data/doc/classes/Zx81.src/M000336.html +18 -0
- data/doc/classes/Zx81.src/M000337.html +206 -0
- data/doc/classes/Zx81.src/M000338.html +18 -0
- data/doc/classes/Zx81.src/M000339.html +23 -0
- data/doc/classes/Zx81.src/M000340.html +29 -0
- data/doc/classes/Zx81Basic.html +15 -15
- data/doc/classes/Zx81Basic.src/M000331.html +6 -4
- data/doc/classes/Zx81Basic.src/M000332.html +4 -109
- data/doc/classes/Zx81Basic.src/M000333.html +123 -0
- data/doc/classes/Zx81Basic.src/M000341.html +20 -0
- data/doc/classes/Zx81Basic.src/M000342.html +18 -0
- data/doc/classes/Zx81Basic.src/M000343.html +123 -0
- data/doc/classes/Zx81PFile.html +10 -10
- data/doc/classes/Zx81PFile.src/M000388.html +4 -4
- data/doc/classes/Zx81PFile.src/M000389.html +18 -0
- data/doc/classes/Zx81PFile.src/M000400.html +18 -0
- data/doc/classes/Zx81PFile.src/M000401.html +18 -0
- data/doc/created.rid +1 -1
- data/doc/files/lib/FileCache_rb.html +1 -1
- data/doc/files/lib/FileSystemImage_rb.html +1 -1
- data/doc/files/lib/LibRipXplore_rb.html +1 -1
- data/doc/files/lib/NativeFileType_rb.html +1 -1
- data/doc/files/lib/file_systems/CVTArchive_rb.html +1 -1
- data/doc/files/lib/file_systems/CbmDos_rb.html +1 -1
- data/doc/files/lib/native_file_types/c64/C64GeoPaintPic_rb.html +1 -1
- data/doc/files/lib/native_file_types/c64/C64GeosFile_rb.html +2 -1
- data/doc/files/lib/native_file_types/c64/C64GeosPhotoAlbum_rb.html +109 -0
- data/doc/files/lib/native_file_types/c64/C64PhotoScrap_rb.html +119 -0
- data/doc/files/test/tc_c64_rb.html +1 -1
- data/doc/fr_class_index.html +2 -0
- data/doc/fr_file_index.html +2 -0
- data/doc/fr_method_index.html +494 -467
- data/lib/FileCache.rb +14 -0
- data/lib/FileSystemImage.rb +3 -2
- data/lib/LibRipXplore.rb +1 -1
- data/lib/NativeFileType.rb +7 -2
- data/lib/file_systems/CVTArchive.rb +8 -5
- data/lib/file_systems/CbmDos.rb +10 -7
- data/lib/native_file_types/c64/C64GeoPaintPic.rb +6 -1
- data/lib/native_file_types/c64/C64GeosFile.rb +52 -3
- data/lib/native_file_types/c64/C64GeosPhotoAlbum.rb +76 -0
- data/lib/native_file_types/c64/C64PhotoScrap.rb +141 -0
- data/test/tc_c64.rb +44 -3
- metadata +560 -3
@@ -5,119 +5,14 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>load_address (Zx81Basic)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/native_file_types/zx81/Zx81Basic.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
15
|
-
|
16
|
-
<span class="ruby-identifier">d_file</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">3</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">4</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16396
|
17
|
-
<span class="ruby-identifier">vars</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">7</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">8</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16400
|
18
|
-
<span class="ruby-identifier">e_line</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">11</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">12</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16404
|
19
|
-
<span class="ruby-identifier">s</span>=<span class="ruby-value str">""</span>
|
20
|
-
<span class="ruby-identifier">p</span>=<span class="ruby-value">0x74</span> <span class="ruby-comment cmt">#start at offset 16509
|
21
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span><span class="ruby-operator"><</span>(<span class="ruby-identifier">d_file</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>)
|
22
|
-
<span class="ruby-identifier">line_number</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
23
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">2</span>
|
24
|
-
<span class="ruby-identifier">line_length</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)
|
25
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-node">"#{line_number.to_s} "</span>
|
26
|
-
<span class="ruby-identifier">i</span>=<span class="ruby-value">2</span>
|
27
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">i</span><span class="ruby-operator"><=</span><span class="ruby-identifier">line_length</span> <span class="ruby-operator">&&</span> <span class="ruby-operator">!</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span>].<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">do</span>
|
28
|
-
<span class="ruby-identifier">b</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span>]
|
29
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">b</span><span class="ruby-operator">==</span><span class="ruby-value">126</span> <span class="ruby-keyword kw">then</span>
|
30
|
-
<span class="ruby-comment cmt">#the next 5 bytes are binary form of the number we have just displayed
|
31
|
-
<span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">5</span>
|
32
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">" "</span> <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">i</span><span class="ruby-operator">>=</span><span class="ruby-identifier">line_length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">==</span><span class="ruby-value">17</span>)
|
33
|
-
<span class="ruby-keyword kw">else</span>
|
34
|
-
<span class="ruby-identifier">token</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">b</span>]
|
35
|
-
<span class="ruby-identifier">token</span>=<span class="ruby-node">"<#{"$%02X" % b}>"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">token</span>.<span class="ruby-identifier">nil?</span>
|
36
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">" "</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">></span><span class="ruby-value">1</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">token</span>[<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">chr</span><span class="ruby-operator">==</span><span class="ruby-value str">" "</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">s</span>[<span class="ruby-identifier">s</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">chr!</span>=<span class="ruby-value str">" "</span>) <span class="ruby-comment cmt">#make sure there is at least 1 space around keywords
|
37
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-identifier">token</span>
|
38
|
-
<span class="ruby-keyword kw">end</span>
|
39
|
-
<span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
40
|
-
<span class="ruby-keyword kw">end</span>
|
41
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\n"</span>
|
42
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">line_length</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>
|
43
|
-
<span class="ruby-keyword kw">end</span>
|
44
|
-
<span class="ruby-comment cmt">#all lines detokenised, now list the variables
|
45
|
-
|
46
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\nVARIABLES\n\n"</span>
|
47
|
-
<span class="ruby-identifier">p</span>=(<span class="ruby-identifier">vars</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>)
|
48
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span><span class="ruby-operator"><</span>(<span class="ruby-identifier">e_line</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">p</span><span class="ruby-operator"><</span><span class="ruby-identifier">contents</span>.<span class="ruby-identifier">length</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">!=</span><span class="ruby-value">0x80</span>)
|
49
|
-
<span class="ruby-comment cmt">#read a variable name
|
50
|
-
|
51
|
-
<span class="ruby-identifier">first_char</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]
|
52
|
-
<span class="ruby-comment cmt"># puts "%2X" % first_char
|
53
|
-
<span class="ruby-comment cmt">#first byte of name implies type:
|
54
|
-
<span class="ruby-comment cmt">#011nnnnn = single letter variable name, followed by 5 byte number
|
55
|
-
<span class="ruby-comment cmt">#101nnnnn = multi letter variable name (last letter has high bit set), followed by 5 byte number
|
56
|
-
<span class="ruby-comment cmt">#100nnnnn = array of numbers:
|
57
|
-
<span class="ruby-comment cmt">#111nnnnnn = control variable of a for-next loop
|
58
|
-
<span class="ruby-comment cmt">#010nnnnn = single letter variable name - 0x20, 2 byte string length, text of string
|
59
|
-
<span class="ruby-comment cmt">#110nnnnn = array of characters
|
60
|
-
<span class="ruby-identifier">var_type</span>=(<span class="ruby-identifier">first_char</span><span class="ruby-operator">>></span><span class="ruby-value">5</span>)
|
61
|
-
|
62
|
-
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">var_type</span>
|
63
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b010</span> <span class="ruby-comment cmt"># string
|
64
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x20</span>]
|
65
|
-
<span class="ruby-identifier">string_length</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
66
|
-
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">s_to_ascii</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>,<span class="ruby-identifier">string_length</span>])
|
67
|
-
|
68
|
-
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}$=\"#{value}\" (length=#{string_length})"</span>
|
69
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">string_length</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
70
|
-
|
71
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b011</span> <span class="ruby-comment cmt"># single letter variable name
|
72
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span> <span class="ruby-operator">&</span> <span class="ruby-value">0x3</span><span class="ruby-constant">F</span>]
|
73
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-identifier">first_char</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">var_name</span>.<span class="ruby-identifier">nil?</span>
|
74
|
-
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>,<span class="ruby-value">5</span>])
|
75
|
-
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}=#{value}"</span>
|
76
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">6</span>
|
77
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b100</span> <span class="ruby-comment cmt">#array of numbers
|
78
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x60</span>]
|
79
|
-
<span class="ruby-identifier">length_of_table</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
80
|
-
<span class="ruby-identifier">number_of_dimensions</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>]
|
81
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">length_of_table</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
82
|
-
<span class="ruby-identifier">value</span>=<span class="ruby-value str">"?"</span>
|
83
|
-
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(array of numbers) #{var_name}=#{value}\n dimensions: #{number_of_dimensions}"</span>
|
84
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b110</span> <span class="ruby-comment cmt">#array of characters
|
85
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x20</span>]
|
86
|
-
<span class="ruby-identifier">length_of_table</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
87
|
-
<span class="ruby-identifier">number_of_dimensions</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>]
|
88
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">length_of_table</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
89
|
-
<span class="ruby-identifier">value</span>=<span class="ruby-value str">"?"</span>
|
90
|
-
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(array of chars) #{var_name}$=#{value}\n dimensions: #{number_of_dimensions}"</span>
|
91
|
-
|
92
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b101</span> <span class="ruby-comment cmt">#multi letter variable name
|
93
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span>]
|
94
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
95
|
-
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">></span><span class="ruby-value">0x7</span><span class="ruby-constant">F</span> <span class="ruby-keyword kw">do</span>
|
96
|
-
<span class="ruby-identifier">var_name</span><span class="ruby-operator">+=</span><span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]]
|
97
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
98
|
-
<span class="ruby-keyword kw">end</span>
|
99
|
-
<span class="ruby-identifier">var_name</span><span class="ruby-operator">+=</span><span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">-</span><span class="ruby-value">0x80</span>]
|
100
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
101
|
-
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>,<span class="ruby-value">5</span>])
|
102
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">5</span>
|
103
|
-
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}=#{value}"</span>
|
104
|
-
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b111</span> <span class="ruby-comment cmt"># for_next loop
|
105
|
-
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">&</span> <span class="ruby-value">0x3</span><span class="ruby-constant">F</span>]
|
106
|
-
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>,<span class="ruby-value">5</span>])
|
107
|
-
<span class="ruby-identifier">limit</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">6</span>,<span class="ruby-value">5</span>])
|
108
|
-
<span class="ruby-identifier">step</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">11</span>,<span class="ruby-value">5</span>])
|
109
|
-
<span class="ruby-identifier">looping_line</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">17</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">16</span>]<span class="ruby-operator">-</span><span class="ruby-value">1</span>
|
110
|
-
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">18</span>
|
111
|
-
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(for loop) #{var_name}=#{value} LIMIT #{limit} STEP #{step} LINE #{looping_line}"</span>
|
112
|
-
<span class="ruby-keyword kw">else</span>
|
113
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"unknown var_type %03b"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">var_type</span>
|
114
|
-
<span class="ruby-keyword kw">end</span>
|
115
|
-
|
116
|
-
<span class="ruby-comment cmt"># puts v
|
117
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-identifier">v</span>
|
118
|
-
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\n"</span>
|
119
|
-
<span class="ruby-keyword kw">end</span>
|
120
|
-
<span class="ruby-identifier">s</span>
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/zx81/Zx81Basic.rb, line 12</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_address</span>
|
15
|
+
<span class="ruby-value">16393</span>
|
121
16
|
<span class="ruby-keyword kw">end</span></pre>
|
122
17
|
</body>
|
123
18
|
</html>
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>to_listing (Zx81Basic)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/zx81/Zx81Basic.rb, line 16</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_listing</span>
|
15
|
+
|
16
|
+
<span class="ruby-identifier">d_file</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">3</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">4</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16396
|
17
|
+
<span class="ruby-identifier">vars</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">7</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">8</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16400
|
18
|
+
<span class="ruby-identifier">e_line</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">11</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">12</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16404
|
19
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-value str">""</span>
|
20
|
+
<span class="ruby-identifier">p</span>=<span class="ruby-value">0x74</span> <span class="ruby-comment cmt">#start at offset 16509
|
21
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span><span class="ruby-operator"><</span>(<span class="ruby-identifier">d_file</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>)
|
22
|
+
<span class="ruby-identifier">line_number</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
23
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">2</span>
|
24
|
+
<span class="ruby-identifier">line_length</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)
|
25
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-node">"#{line_number.to_s} "</span>
|
26
|
+
<span class="ruby-identifier">i</span>=<span class="ruby-value">2</span>
|
27
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">i</span><span class="ruby-operator"><=</span><span class="ruby-identifier">line_length</span> <span class="ruby-operator">&&</span> <span class="ruby-operator">!</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span>].<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">do</span>
|
28
|
+
<span class="ruby-identifier">b</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span>]
|
29
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">b</span><span class="ruby-operator">==</span><span class="ruby-value">126</span> <span class="ruby-keyword kw">then</span>
|
30
|
+
<span class="ruby-comment cmt">#the next 5 bytes are binary form of the number we have just displayed
|
31
|
+
<span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">5</span>
|
32
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">" "</span> <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">i</span><span class="ruby-operator">>=</span><span class="ruby-identifier">line_length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">==</span><span class="ruby-value">17</span>)
|
33
|
+
<span class="ruby-keyword kw">else</span>
|
34
|
+
<span class="ruby-identifier">token</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">b</span>]
|
35
|
+
<span class="ruby-identifier">token</span>=<span class="ruby-node">"<#{"$%02X" % b}>"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">token</span>.<span class="ruby-identifier">nil?</span>
|
36
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">" "</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">></span><span class="ruby-value">1</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">token</span>[<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">chr</span><span class="ruby-operator">==</span><span class="ruby-value str">" "</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">s</span>[<span class="ruby-identifier">s</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">chr!</span>=<span class="ruby-value str">" "</span>) <span class="ruby-comment cmt">#make sure there is at least 1 space around keywords
|
37
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-identifier">token</span>
|
38
|
+
<span class="ruby-keyword kw">end</span>
|
39
|
+
<span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
40
|
+
<span class="ruby-keyword kw">end</span>
|
41
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\n"</span>
|
42
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">line_length</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>
|
43
|
+
<span class="ruby-keyword kw">end</span>
|
44
|
+
<span class="ruby-comment cmt">#all lines detokenised, now list the variables
|
45
|
+
|
46
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\nVARIABLES\n\n"</span>
|
47
|
+
<span class="ruby-identifier">p</span>=(<span class="ruby-identifier">vars</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>)
|
48
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span><span class="ruby-operator"><</span>(<span class="ruby-identifier">e_line</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">p</span><span class="ruby-operator"><</span><span class="ruby-identifier">contents</span>.<span class="ruby-identifier">length</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">!=</span><span class="ruby-value">0x80</span>)
|
49
|
+
<span class="ruby-comment cmt">#read a variable name
|
50
|
+
|
51
|
+
<span class="ruby-identifier">first_char</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]
|
52
|
+
<span class="ruby-comment cmt"># puts "%2X" % first_char
|
53
|
+
<span class="ruby-comment cmt">#first byte of name implies type:
|
54
|
+
<span class="ruby-comment cmt">#011nnnnn = single letter variable name, followed by 5 byte number
|
55
|
+
<span class="ruby-comment cmt">#101nnnnn = multi letter variable name (last letter has high bit set), followed by 5 byte number
|
56
|
+
<span class="ruby-comment cmt">#100nnnnn = array of numbers:
|
57
|
+
<span class="ruby-comment cmt">#111nnnnnn = control variable of a for-next loop
|
58
|
+
<span class="ruby-comment cmt">#010nnnnn = single letter variable name - 0x20, 2 byte string length, text of string
|
59
|
+
<span class="ruby-comment cmt">#110nnnnn = array of characters
|
60
|
+
<span class="ruby-identifier">var_type</span>=(<span class="ruby-identifier">first_char</span><span class="ruby-operator">>></span><span class="ruby-value">5</span>)
|
61
|
+
|
62
|
+
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">var_type</span>
|
63
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b010</span> <span class="ruby-comment cmt"># string
|
64
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x20</span>]
|
65
|
+
<span class="ruby-identifier">string_length</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
66
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">s_to_ascii</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>,<span class="ruby-identifier">string_length</span>])
|
67
|
+
|
68
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}$=\"#{value}\" (length=#{string_length})"</span>
|
69
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">string_length</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
70
|
+
|
71
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b011</span> <span class="ruby-comment cmt"># single letter variable name
|
72
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span> <span class="ruby-operator">&</span> <span class="ruby-value">0x3</span><span class="ruby-constant">F</span>]
|
73
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-identifier">first_char</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">var_name</span>.<span class="ruby-identifier">nil?</span>
|
74
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>,<span class="ruby-value">5</span>])
|
75
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}=#{value}"</span>
|
76
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">6</span>
|
77
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b100</span> <span class="ruby-comment cmt">#array of numbers
|
78
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x60</span>]
|
79
|
+
<span class="ruby-identifier">length_of_table</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
80
|
+
<span class="ruby-identifier">number_of_dimensions</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>]
|
81
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">length_of_table</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
82
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-value str">"?"</span>
|
83
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(array of numbers) #{var_name}=#{value}\n dimensions: #{number_of_dimensions}"</span>
|
84
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b110</span> <span class="ruby-comment cmt">#array of characters
|
85
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x20</span>]
|
86
|
+
<span class="ruby-identifier">length_of_table</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
87
|
+
<span class="ruby-identifier">number_of_dimensions</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>]
|
88
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">length_of_table</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
89
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-value str">"?"</span>
|
90
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(array of chars) #{var_name}$=#{value}\n dimensions: #{number_of_dimensions}"</span>
|
91
|
+
|
92
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b101</span> <span class="ruby-comment cmt">#multi letter variable name
|
93
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span>]
|
94
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
95
|
+
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">></span><span class="ruby-value">0x7</span><span class="ruby-constant">F</span> <span class="ruby-keyword kw">do</span>
|
96
|
+
<span class="ruby-identifier">var_name</span><span class="ruby-operator">+=</span><span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]]
|
97
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
98
|
+
<span class="ruby-keyword kw">end</span>
|
99
|
+
<span class="ruby-identifier">var_name</span><span class="ruby-operator">+=</span><span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">-</span><span class="ruby-value">0x80</span>]
|
100
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
101
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>,<span class="ruby-value">5</span>])
|
102
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">5</span>
|
103
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}=#{value}"</span>
|
104
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b111</span> <span class="ruby-comment cmt"># for_next loop
|
105
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">&</span> <span class="ruby-value">0x3</span><span class="ruby-constant">F</span>]
|
106
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>,<span class="ruby-value">5</span>])
|
107
|
+
<span class="ruby-identifier">limit</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">6</span>,<span class="ruby-value">5</span>])
|
108
|
+
<span class="ruby-identifier">step</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">11</span>,<span class="ruby-value">5</span>])
|
109
|
+
<span class="ruby-identifier">looping_line</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">17</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">16</span>]<span class="ruby-operator">-</span><span class="ruby-value">1</span>
|
110
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">18</span>
|
111
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(for loop) #{var_name}=#{value} LIMIT #{limit} STEP #{step} LINE #{looping_line}"</span>
|
112
|
+
<span class="ruby-keyword kw">else</span>
|
113
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"unknown var_type %03b"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">var_type</span>
|
114
|
+
<span class="ruby-keyword kw">end</span>
|
115
|
+
|
116
|
+
<span class="ruby-comment cmt"># puts v
|
117
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-identifier">v</span>
|
118
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\n"</span>
|
119
|
+
<span class="ruby-keyword kw">end</span>
|
120
|
+
<span class="ruby-identifier">s</span>
|
121
|
+
<span class="ruby-keyword kw">end</span></pre>
|
122
|
+
</body>
|
123
|
+
</html>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>file_system_file_types (Zx81Basic)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/zx81/Zx81Basic.rb, line 6</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Zx81Basic</span>.<span class="ruby-identifier">file_system_file_types</span>
|
15
|
+
{
|
16
|
+
<span class="ruby-constant">Zx81Snapshot</span>=<span class="ruby-operator">></span><span class="ruby-identifier">:any</span>
|
17
|
+
}
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>load_address (Zx81Basic)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/zx81/Zx81Basic.rb, line 12</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_address</span>
|
15
|
+
<span class="ruby-value">16393</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>to_listing (Zx81Basic)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/native_file_types/zx81/Zx81Basic.rb, line 16</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_listing</span>
|
15
|
+
|
16
|
+
<span class="ruby-identifier">d_file</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">3</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">4</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16396
|
17
|
+
<span class="ruby-identifier">vars</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">7</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">8</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16400
|
18
|
+
<span class="ruby-identifier">e_line</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-value">11</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-value">12</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-comment cmt"># what would be memory offset 16404
|
19
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-value str">""</span>
|
20
|
+
<span class="ruby-identifier">p</span>=<span class="ruby-value">0x74</span> <span class="ruby-comment cmt">#start at offset 16509
|
21
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span><span class="ruby-operator"><</span>(<span class="ruby-identifier">d_file</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>)
|
22
|
+
<span class="ruby-identifier">line_number</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
23
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">2</span>
|
24
|
+
<span class="ruby-identifier">line_length</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">+</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)
|
25
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-node">"#{line_number.to_s} "</span>
|
26
|
+
<span class="ruby-identifier">i</span>=<span class="ruby-value">2</span>
|
27
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">i</span><span class="ruby-operator"><=</span><span class="ruby-identifier">line_length</span> <span class="ruby-operator">&&</span> <span class="ruby-operator">!</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span>].<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">do</span>
|
28
|
+
<span class="ruby-identifier">b</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span>]
|
29
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">b</span><span class="ruby-operator">==</span><span class="ruby-value">126</span> <span class="ruby-keyword kw">then</span>
|
30
|
+
<span class="ruby-comment cmt">#the next 5 bytes are binary form of the number we have just displayed
|
31
|
+
<span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">5</span>
|
32
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">" "</span> <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">i</span><span class="ruby-operator">>=</span><span class="ruby-identifier">line_length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>) <span class="ruby-operator">||</span> (<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">==</span><span class="ruby-value">17</span>)
|
33
|
+
<span class="ruby-keyword kw">else</span>
|
34
|
+
<span class="ruby-identifier">token</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">b</span>]
|
35
|
+
<span class="ruby-identifier">token</span>=<span class="ruby-node">"<#{"$%02X" % b}>"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">token</span>.<span class="ruby-identifier">nil?</span>
|
36
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">" "</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">></span><span class="ruby-value">1</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">token</span>[<span class="ruby-identifier">token</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">chr</span><span class="ruby-operator">==</span><span class="ruby-value str">" "</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">s</span>[<span class="ruby-identifier">s</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>].<span class="ruby-identifier">chr!</span>=<span class="ruby-value str">" "</span>) <span class="ruby-comment cmt">#make sure there is at least 1 space around keywords
|
37
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-identifier">token</span>
|
38
|
+
<span class="ruby-keyword kw">end</span>
|
39
|
+
<span class="ruby-identifier">i</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
40
|
+
<span class="ruby-keyword kw">end</span>
|
41
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\n"</span>
|
42
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">line_length</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>
|
43
|
+
<span class="ruby-keyword kw">end</span>
|
44
|
+
<span class="ruby-comment cmt">#all lines detokenised, now list the variables
|
45
|
+
|
46
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\nVARIABLES\n\n"</span>
|
47
|
+
<span class="ruby-identifier">p</span>=(<span class="ruby-identifier">vars</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>)
|
48
|
+
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">p</span><span class="ruby-operator"><</span>(<span class="ruby-identifier">e_line</span><span class="ruby-operator">-</span><span class="ruby-identifier">load_address</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">p</span><span class="ruby-operator"><</span><span class="ruby-identifier">contents</span>.<span class="ruby-identifier">length</span>) <span class="ruby-operator">&&</span> (<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">!=</span><span class="ruby-value">0x80</span>)
|
49
|
+
<span class="ruby-comment cmt">#read a variable name
|
50
|
+
|
51
|
+
<span class="ruby-identifier">first_char</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]
|
52
|
+
<span class="ruby-comment cmt"># puts "%2X" % first_char
|
53
|
+
<span class="ruby-comment cmt">#first byte of name implies type:
|
54
|
+
<span class="ruby-comment cmt">#011nnnnn = single letter variable name, followed by 5 byte number
|
55
|
+
<span class="ruby-comment cmt">#101nnnnn = multi letter variable name (last letter has high bit set), followed by 5 byte number
|
56
|
+
<span class="ruby-comment cmt">#100nnnnn = array of numbers:
|
57
|
+
<span class="ruby-comment cmt">#111nnnnnn = control variable of a for-next loop
|
58
|
+
<span class="ruby-comment cmt">#010nnnnn = single letter variable name - 0x20, 2 byte string length, text of string
|
59
|
+
<span class="ruby-comment cmt">#110nnnnn = array of characters
|
60
|
+
<span class="ruby-identifier">var_type</span>=(<span class="ruby-identifier">first_char</span><span class="ruby-operator">>></span><span class="ruby-value">5</span>)
|
61
|
+
|
62
|
+
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">var_type</span>
|
63
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b010</span> <span class="ruby-comment cmt"># string
|
64
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x20</span>]
|
65
|
+
<span class="ruby-identifier">string_length</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
66
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">s_to_ascii</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>,<span class="ruby-identifier">string_length</span>])
|
67
|
+
|
68
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}$=\"#{value}\" (length=#{string_length})"</span>
|
69
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">string_length</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
70
|
+
|
71
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b011</span> <span class="ruby-comment cmt"># single letter variable name
|
72
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span> <span class="ruby-operator">&</span> <span class="ruby-value">0x3</span><span class="ruby-constant">F</span>]
|
73
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-identifier">first_char</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">var_name</span>.<span class="ruby-identifier">nil?</span>
|
74
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>,<span class="ruby-value">5</span>])
|
75
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}=#{value}"</span>
|
76
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">6</span>
|
77
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b100</span> <span class="ruby-comment cmt">#array of numbers
|
78
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x60</span>]
|
79
|
+
<span class="ruby-identifier">length_of_table</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
80
|
+
<span class="ruby-identifier">number_of_dimensions</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>]
|
81
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">length_of_table</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
82
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-value str">"?"</span>
|
83
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(array of numbers) #{var_name}=#{value}\n dimensions: #{number_of_dimensions}"</span>
|
84
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b110</span> <span class="ruby-comment cmt">#array of characters
|
85
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">-</span><span class="ruby-value">0x20</span>]
|
86
|
+
<span class="ruby-identifier">length_of_table</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]
|
87
|
+
<span class="ruby-identifier">number_of_dimensions</span>=<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>]
|
88
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-identifier">length_of_table</span><span class="ruby-operator">+</span><span class="ruby-value">3</span>
|
89
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-value str">"?"</span>
|
90
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(array of chars) #{var_name}$=#{value}\n dimensions: #{number_of_dimensions}"</span>
|
91
|
+
|
92
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b101</span> <span class="ruby-comment cmt">#multi letter variable name
|
93
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span>]
|
94
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
95
|
+
<span class="ruby-keyword kw">until</span> <span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">></span><span class="ruby-value">0x7</span><span class="ruby-constant">F</span> <span class="ruby-keyword kw">do</span>
|
96
|
+
<span class="ruby-identifier">var_name</span><span class="ruby-operator">+=</span><span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]]
|
97
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
98
|
+
<span class="ruby-keyword kw">end</span>
|
99
|
+
<span class="ruby-identifier">var_name</span><span class="ruby-operator">+=</span><span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>]<span class="ruby-operator">-</span><span class="ruby-value">0x80</span>]
|
100
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
101
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span>,<span class="ruby-value">5</span>])
|
102
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">5</span>
|
103
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"#{var_name}=#{value}"</span>
|
104
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">0</span><span class="ruby-identifier">b111</span> <span class="ruby-comment cmt"># for_next loop
|
105
|
+
<span class="ruby-identifier">var_name</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">tokens</span>[<span class="ruby-identifier">first_char</span><span class="ruby-operator">&</span> <span class="ruby-value">0x3</span><span class="ruby-constant">F</span>]
|
106
|
+
<span class="ruby-identifier">value</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>,<span class="ruby-value">5</span>])
|
107
|
+
<span class="ruby-identifier">limit</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">6</span>,<span class="ruby-value">5</span>])
|
108
|
+
<span class="ruby-identifier">step</span>=<span class="ruby-constant">Zx81</span>.<span class="ruby-identifier">buffer_to_number</span>(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">11</span>,<span class="ruby-value">5</span>])
|
109
|
+
<span class="ruby-identifier">looping_line</span>=(<span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">17</span>]<span class="ruby-operator"><<</span><span class="ruby-value">8</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-identifier">p</span><span class="ruby-operator">+</span><span class="ruby-value">16</span>]<span class="ruby-operator">-</span><span class="ruby-value">1</span>
|
110
|
+
<span class="ruby-identifier">p</span><span class="ruby-operator">+=</span><span class="ruby-value">18</span>
|
111
|
+
<span class="ruby-identifier">v</span>=<span class="ruby-node">"(for loop) #{var_name}=#{value} LIMIT #{limit} STEP #{step} LINE #{looping_line}"</span>
|
112
|
+
<span class="ruby-keyword kw">else</span>
|
113
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"unknown var_type %03b"</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">var_type</span>
|
114
|
+
<span class="ruby-keyword kw">end</span>
|
115
|
+
|
116
|
+
<span class="ruby-comment cmt"># puts v
|
117
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-identifier">v</span>
|
118
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-value str">"\n"</span>
|
119
|
+
<span class="ruby-keyword kw">end</span>
|
120
|
+
<span class="ruby-identifier">s</span>
|
121
|
+
<span class="ruby-keyword kw">end</span></pre>
|
122
|
+
</body>
|
123
|
+
</html>
|