From: brix@plush.de (Onkel Wanja) hi Steve! I had a look at the fridge and noticed maybe you could love my PAck-Routine for the SCPU, and the routine to find the best packbyte. All of them are coded in the ACME-Assembler by Marco Baye. here are the lsourcecodes.. have fun (hope you like 'em) -Wanja (Brix/Plush)- !macro sxya .adress { stx .adress sty .adress+1 sta .adress+2 } !macro lxya .value { ldx #<.value ldy #>.value lda #^.value } !macro trinc .adress {inc .adress bne .over inc .adress+1 bne .over inc .adress+2 .over } ;triple increase (24 bit) !macro trequal adress,adress2 {lda adress:cmp adress2:bne .out lda adress+1:cmp adress2+1:bne .out lda adress+2:cmp adress2+2: .out } ;compare if equal 24 bit zeroload = $fa zeroput = $fd zeroend = $57 loadto = $030000 packto = $020000 packbyte = $02 !zone packroutine sei lda #^loadto ldy #>loadto ldx #packto ldx #