diff options
author | LAN-TW <lantw44@gmail.com> | 2013-06-06 01:36:14 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-06-06 01:36:14 +0800 |
commit | 3c7e4b14fca1291ed5ffae43022431b2d297eb39 (patch) | |
tree | ae4bfd842411b28c4587db7a00f73d9383e51562 /while1.c | |
parent | 3afa9cf600fe4ab497ca603876dfa1915016e45c (diff) | |
download | yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.tar yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.tar.gz yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.tar.bz2 yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.tar.lz yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.tar.xz yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.tar.zst yotos-3c7e4b14fca1291ed5ffae43022431b2d297eb39.zip |
移除無用的註解、將部份內容寫的更明確
Diffstat (limited to 'while1.c')
-rw-r--r-- | while1.c | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -1,39 +1,7 @@ #include <yotlibc.h>
-/*
-short rval = 8;
-short abc[100];*/
int main()
{
putstr("i am stupid");
while(1);
return 0xF00D;
-/* XYCOORD xys;
- short k;
- extern int char_vga_cursor_x;
- extern int char_vga_cursor_y;
- int i;
-
- chv_init_cursor();
- chv_memwrite(5,4);
- xys.y = 23;
- xys.x = 4;
- chv_set_cursor(&xys);
- putint(char_vga_cursor_y);
- for(i=0; i<9; i++){
- chv_putchar('F');
- }
- chv_sync_cursor();
- yotrl(abc,"",99);
- putstr(abc);
- chv_putchar(' ');
-
- while(1){
- int a = getch();
- a = GETCH_SCANCODE(a);
- putcharhex(a);
- }
- putint(getstr(abc,10));
- putstr(abc);
-
- return 0xF00D;*/
}
|