mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-02-03 10:03:20 +08:00
生成条纹
This commit is contained in:
@@ -6,7 +6,7 @@ void HariMain(void)
|
||||
int i; /* 声明变量,i是32位整数 */
|
||||
|
||||
for (i = 0xa0000; i <= 0xaffff; i++) {
|
||||
write_mem8(i, 15); /* MOV BYTE [i],15 */
|
||||
write_mem8(i, i & 0x0f);
|
||||
}
|
||||
|
||||
for (;;) {
|
||||
|
||||
Reference in New Issue
Block a user