flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
cod3b453 24 Nov 2013, 12:59
Welcome
![]() Each character cell is actually two bytes so you need to do: Code: char *vgamem = (char *) 0xB8000 + ((Y*80 + X) * 2); // or short *vgamem = (short *) 0xB8000 + (Y*80 + X); |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.