On Wed, Nov 4, 2009 at 1:42 AM, Scott <email@example.com> wrote: > The program below, being the non programmer I am, would I just need to type it in and then compile it. I typed in a lot of Compute Gazette programs but it's been a long time ago. This is the source code. If you don't have an assembler you can just ignore it. > SEI > LDA $01 > AND #$FE ; disable Basic ROM > STA $01 > INC $D020 > LDA #$37 ; default value > STA $01 > CLI > RTS The BASIC program below you can simply type in and RUN. The DATA statements contain the machine code represented in the source code above. > 10 DATA 120,165,1,41,254,133,1,238,32,208,169,55,133,1,88,96,-1 > 20 I=679 > 30 READ A:IF A>0 THEN POKE I,A:I=I+1:GOTO 30 > 40 SYS 679 /Niklas Ramsberg aka < . (:) Bacon < . Message was sent through the cbm-hackers mailing listReceived on 2009-11-04 07:00:03
Archive generated by hypermail 2.2.0.