void init_buffer() { int i; display_sprite(screen_buffer_aligned, bitmap_hxc2001logo_bmp,(SCREEN_XRESOL-bitmap_hxc2001logo_bmp->Xsize), (SCREEN_YRESOL-bitmap_hxc2001logo_bmp->Ysize)); display_sprite(screen_buffer_aligned, bitmap_sdhxcfelogo_bmp,(SCREEN_XRESOL-bitmap_sdhxcfelogo_bmp->Xsize)/2, (SCREEN_YRESOL-bitmap_sdhxcfelogo_bmp->Ysize)); h_line(SCREEN_YRESOL-34,0xFFFF) ; h_line(SCREEN_YRESOL-((48+(3*8))+2),0xFFFF) ; h_line(8,0xFFFF) ; hxc_printf(0,0,SCREEN_YRESOL-(8*1),"Ver %s",VERSIONCODE); hxc_printf(1,0,0,"SDCard HxC Floppy Emulator Manager for Atari ST"); h_line(SCREEN_YRESOL-(48+20)+24-2,0xFFFF) ; hxc_printf(1,0,SCREEN_YRESOL-(48+20)+24,">>>Press HELP key for the function key list<<<"); i=1; hxc_printf(1,0,HELP_Y_POS+(i*8), "SDCard HxC Floppy Emulator file selector for Atari ST"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "(c) 2006-2011 HxC2001 / Jean-Francois DEL NERO"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "Check for updates on :"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "http://hxc2001.free.fr/floppy_drive_emulator/"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "Email : [email protected]"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "V%s - %s",VERSIONCODE,DATECODE); }
//------------------------------------------------------------------------- void drawRect(unsigned char x1, unsigned char y1, unsigned char x2, unsigned char y2) { h_line(x1, x2, y1); h_line(x1, x2, y2); v_line(x1, y1, y2); v_line(x2, y1, y2); }
void clear_line(unsigned short y_pos,unsigned short val) { unsigned char i; for(i=0;i<8;i++) h_line(y_pos+i,val); }