3C8/3C9 are the indexed color mapping ports of the graphics card. The snippet would set all pixels with index '0' to bright red.
On Oct 20, 12:52 am, Christian Catchpole <[email protected]> wrote: > from memory 3C8 is the IO port for character ram?? You needs > something with a loop :) > > Hows about my old favourite on the C64. Increment the border colour > in a tight loop. > > .C:c000 EE 20 D0 INC $D020 > .C:c003 4C 00 C0 JMP $C000 > > Good old SYS 49152 .... > > http://twitpic.com/2z3ucr > > On Oct 20, 12:11 am, Reinier Zwitserloot <[email protected]> wrote: > > > > > > > > > Possibly more obscure: > > > MOV DX, 0x3C8 > > XOR AL, AL > > OUT DX, AL > > INC DX > > DEC AL > > OUT DX, AL > > INC AL > > OUT DX, AL > > OUT DX, AL > > > I double checked, 3C8 is the right port. Any takers? > > > On Oct 19, 2:57 pm, Christian Catchpole <[email protected]> > > wrote: > > > > screen colour = black > > > border colour = black > > > cursor colour = white > > > > (and i remembered that from 1987) > > > >http://twitpic.com/2yzlcp -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
