summaryrefslogtreecommitdiffstats
path: root/while1.c
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2013-06-06 01:36:14 +0800
committerLAN-TW <lantw44@gmail.com>2013-06-06 01:36:14 +0800
commit3c7e4b14fca1291ed5ffae43022431b2d297eb39 (patch)
treeae4bfd842411b28c4587db7a00f73d9383e51562 /while1.c
parent3afa9cf600fe4ab497ca603876dfa1915016e45c (diff)
downloadyotos-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.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/while1.c b/while1.c
index d9524e2..dd94328 100644
--- a/while1.c
+++ b/while1.c
@@ -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;*/
}