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

⟦a15af0c07⟧ EM, TextFile

    Length: 3072 (0xc00)
    Types: EM, TextFile
    Names: »GET_C_ADDRESS.EM«

Derivation

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

TextFile

[transparent]
[write [ascii,1B,4D,1B,DB,32,4B,1B,DB,30,38,30,43,1B,4D]]
[#gt,%1%,2F]
    [set kbdin [read,C_ADDRESS,:,GP,[#extract,[not,%1%],3C,4],,
	    Do you want to change this field[ascii 3F],(y or n)]]
    [eq,[var kbdin],n]
	%1%
    [else]
	[eq,[var kbdin],y]
	    [write [ascii,1B,4D,1B,DB,32,4B,1B,DB,30,38,30,43,1B,4D]]
	    [set kbdin [read,C_ADDRESS,:,GP,[#extract,[not,%1%],3C,4],,
		Do you want a different GP register[ascii 3F],(y or n)]]

	    [eq,[var kbdin],y]
		[write [ascii,1B,4D,1B,DB,32,4B,1B,DB,30,38,30,43,1B,4D]]
	        [set kbdin [read,C_ADDRESS,:,GP,[#extract,[not,%1%],3C,4],,
		    enter reg number range <0..F>,]]

		[#gt [var kbdin],F]
		    [get_c_address %1%]
		[else]
		    [#lt [var kbdin],0]
			[get_c_address %1%]
		    [else]
			[add,[#extract,[not,[var kbdin]],3C,4],30]
		    [end]
		[end]
	    [else]
		[get_c_address 2F]
	    [end]
	[else]
	    [eq,[var kbdin],]
		%1%
	    [else]
		[get_c_address %1%]
	    [end]
	[end]
    [end]
[else]
    [#lt,%1%,20]
	[set kbdin [read,C_ADDRESS,:,FRAME_REG,[#extract,[not,%1%],3B,5],,
	    Do you want to change this field[ascii 3F],(y or n)]]
	[eq,[var kbdin],n]
	    %1%
	[else]
	    [eq,[var kbdin],y]
		[write [ascii,1B,4D,1B,DB,32,4B,1B,DB,30,38,30,43,1B,4D]]
		[set kbdin [read,C_ADDRESS,:,FRAME_REG,
					     [#extract,[not,%1%],3B,5],,
		    Do you want a different Frame register[ascii 3F],(y or n)]]

		[eq,[var kbdin],y]
		    [write [ascii,1B,4D,1B,DB,32,4B,1B,DB,30,38,30,43,1B,4D]]
		    [set kbdin [read,C_ADDRESS,:,FRAME_REG,
						 [#extract,[not,%1%],3B,5],,
			enter reg number range <0..1F>,]]

		    [#gt [var kbdin],1F]
			[get_c_address %1%]
		    [else]
			[#lt [var kbdin],0]
			    [get_c_address %1%]
			[else]
			    [#extract,[not,[var kbdin]],3B,5]
			[end]
		    [end]
		[else]
		    [get_c_address 3F]
		[end]
	    [else]
		[eq,[var kbdin],]
		    %1%
		[else]
		    [get_c_address %1%]
		[end]
	    [end]
	[end]
    [else]
	[set kbdin [read,C_ADDRESS,:,[disp_c_address,%1%,,]]]
	[eq,[var kbdin],]
	    %1%
	[else]
	    [get_c_address [sub,%1%,1]]
	[end]
    [end]
[end]
[kill kbdin]
[normal]«nul»