Jump to content

jp48's Photo

jp48

Member Since 20 Feb 2010
OFFLINE Last Active Jul 4 2016 5:10 PM

Posts I've Made

In Topic: Harmony cart / keypad

Thu Mar 24, 2016 2:53 PM

OK, thanks ! 


In Topic: "good" way for replacing POKE and PEEK, writing directly to addresses

Wed Mar 2, 2016 9:50 AM

Yes, thanks, that do the job :) !!


In Topic: "good" way for replacing POKE and PEEK, writing directly to addresses

Wed Mar 2, 2016 4:00 AM

Thanks of these !

 

What I am trying to do is avoid using constants in TIA registers, I picked last of your examples, how about this:

 

dim VAL=b
 VAL=12
 for i=$15 to $21
asm
 lda VAL
 sta i
end
 next

 

ie. using assembly (or any other means) to store value directly to (TIA) register value.


In Topic: "good" way for replacing POKE and PEEK, writing directly to addresses

Wed Mar 2, 2016 3:21 AM

Does this work:

 

dim ADDR=a:dim VAL=b
ADDR=$15:VAL=12
asm
 LDA VAL
 STA ADDR
end

In Topic: visual glitches/2600

Mon Feb 29, 2016 4:39 AM

Thanks Hobo, this is helpful, writing a new version with some additional stuff, using BatariBasic. Nice to compare disassembled version to original, I am not assembler guy, though can read and understand it.