| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pixel routine.... |
PR> Hi All, PR> well Im after a pixel routine, not the usuall PR> Mem[$A000:Addr] PR> stuff, but one for graphix mode $12. The reason is im This one is for mode $13(320*200). Just change line "mov ax,320" for a different resolution. PROCEDURE PUTPIXEL(X,Y:INTEGER;COLOUR:WORD); BEGIN ASM MOV AX,$A000 MOV ES,AX MOV AX,320 MOV CX,Y MUL CX ADD AX,X MOV DI,AX MOV AX,COLOUR MOV [ES:DI],AX END; END; Doug. --- Msgedsq/2 3.10* Origin: Tir na nOc 066 245944 -=Cead mile failte=- (3:626/667) SEEN-BY: 633/267 270 @PATH: 626/667 660 711/401 808 50/99 635/544 727 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.