DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 DFS Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 DFS Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦6b903f8b3⟧ EM, TextFile

    Length: 1024 (0x400)
    Types: EM, TextFile
    Names: »GET_LENGTH_LITERAL.EM«

Derivation

└─⟦b4205821b⟧ Bits:30000743 8mm tape, Rational 1000, DFS, D_12_7_3 SEQ288
    └─ ⟦this⟧ »GET_LENGTH_LITERAL.EM« 
└─⟦b434774df⟧ Bits:30000528 8mm tape, Rational 1000, DFS, D_12_6_5
    └─ ⟦this⟧ »GET_LENGTH_LITERAL.EM« 
└─⟦bc1274df5⟧ Bits:30000750 8mm tape, Rational 1000, DFS backup from PAM's R1000
    └─ ⟦this⟧ »GET_LENGTH_LITERAL.EM« 

TextFile

[write [ascii,1B,4D,1B,DB,32,4B,1B,DB,30,38,30,43,1B,4D]]
[set kbdin,[read,LENGTH_LITERAL(range,0..40,current_value,
	    =,[disp_length_literal,%1%]): ]]
[eq,[var,kbdin],]
    %1%
[else]
    [#eq [var kbdin],0]
	7F
    [else]
	[#gt [var kbdin],40]
	    [get_length_literal %1%]
	[else]
	    [or [and,[sub,[var,kbdin],1],3F],[and,%1%,40]]
	[end]
    [end]
[end]
[kill kbdin]«nul»