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

⟦def4a1d67⟧ EM, TextFile

    Length: 374 (0x176)
    Types: EM, TextFile
    Names: »GET_LENGTH_LITERAL.EM«

Derivation

└─⟦24d56d853⟧ Bits:30000744 8mm tape, Rational 1000, DFS, D_12_6_5 SEQ293
    └─ ⟦this⟧ »GET_LENGTH_LITERAL.EM« 
└─⟦9031b0687⟧ Bits:30000407 8mm tape, Rational 1000, DFS, D_12_7_3
    └─ ⟦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]