Hallo, guten Tag.
Ich habe hier in kickc den Grafikmodus (ASM) 160x200, der auch funktioniert im Plus4
Finde keinen Befehl im TED für die Hohe Auflösung 320x200
Danke.
C
#pragma target(plus4)
#include <plus4.h>
#include <string.h>
#include <stdlib.h>
#include <conio.h>
#include <stdio.h>
char* screen = 8192;
void main() {
asm{
lda $ff06
ora #%00100000
sta $ff06
lda $ff07
ora #%00010000
sta $ff07
lda $ff12
ora #%00001000
sta $ff12
}
for(int b: 0..8000)
{
screen[b]=0;
}
for(int b: 0..112)
{
screen[b]=129;
}
while(!kbhit()) {}
}
Alles anzeigen