Started by AMSDOS, 11:37, 29 August 10
0 Members and 1 Guest are viewing this topic.
ORG &6000 CALL &BB51LD A,&C3LD HL,LOOPLD (&BDD3),ALD (&BDD4),HLCALL &B903CALL &B906LD A,&00CALL &BB5ALD (SUBLOOP3),HLRETLOOP: PUSH AFCALL &BC1ALD (SUBLOOP2),HLPOP AFLD E,ALD D,&00LD B,&03LOOP2: SLA DSLA EJP NC,PROG1INC DPROG1: DJNZ LOOP2LD HL,(SUBLOOP3)ADD HL,DELD (SUBLOOP1),HLCALL PROG2CALL PROG2LD B,&04LOOP3: PUSH BCCALL PROG3POP BCDJNZ LOOP3CALL PROG4CALL PROG4RETPROG2: CALL PROG5PUSH AFAND &F0LD (HL),AINC HLPOP AFSLA ASLA ASLA ASLA ALD (HL),AJP PROG6PROG3: CALL PROG5LD (SUBLOOP4),ACALL PROG7LD (HL),AINC HLLD A,(SUBLOOP4)AND &0FLD (HL),AJP PROG6CALL PROG5LD (SUBLOOP4),ACALL PROG7ADD BLD (HL),AINC HLLD A,(SUBLOOP4)AND &0FLD C,ALD B,ALD A,&00SLA CSLA CSLA CSLA CLD A,CADD BLD (HL),AJP PROG6PROG6: LD DE,&07FFADD HL,DELD (SUBLOOP2),HLRETPROG7: AND &F0LD B,ASRA ASRA ASRA ASRA AAND &0FRETPROG5: LD HL,(SUBLOOP1)INC HLLD (SUBLOOP1),HLDEC HLLD A,(HL)LD HL,(SUBLOOP2)RETSUBLOOP1: DEFB 0,0SUBLOOP2: DEFB 0,0SUBLOOP3: DEFB 0,0SUBLOOP4: DEFB 0,0
Quote from: erikarn on 06:15, 06 September 10Grab the CPC6128 firmware guide from the Wiki and start adding descriptions to those calls.It's quite likely he's pulling the character masks out (iirc there's a call to do that for you given whatever mode you're in), doing something with the pen colours, and then writing that to the screen.
Page created in 0.094 seconds with 31 queries.