Home | History | Annotate | Download | only in vgabios

Lines Matching defs:page

666      // Ralf Brown Interrupt list is WRONG on bh(page)
667 // We do output only on the current page !
1006 // Set cursor pos for page 0..7
1010 // Set active page 0
1087 static void biosfn_set_cursor_pos (page, cursor)
1088 Bit8u page;Bit16u cursor;
1094 if(page>7)return;
1097 write_word(BIOSMEM_SEG, BIOSMEM_CURSOR_POS+2*page, cursor);
1101 if(page==current)
1109 // Calculate the address knowing nbcols nbrows and page num
1110 address=SCREEN_IO_START(nbcols,nbrows,page)+xcurs+ycurs*nbcols;
1122 static void biosfn_get_cursor_pos (page,shape, pos)
1123 Bit8u page;Bit16u *shape;Bit16u *pos;
1131 if(page>7)return;
1134 write_word(ss,pos,read_word(BIOSMEM_SEG,BIOSMEM_CURSOR_POS+page*2));
1138 static void biosfn_set_active_page (page)
1139 Bit8u page;
1145 if(page>7)return;
1152 // Get pos curs pos for the right page
1153 biosfn_get_cursor_pos(page,&dummy,&cursor);
1161 // Calculate the address knowing nbcols nbrows and page num
1162 address=SCREEN_MEM_START(nbcols,nbrows,page);
1166 address=SCREEN_IO_START(nbcols,nbrows,page);
1170 address = page * (*(Bit16u *)&video_param_table[line_to_vpti[line]].slength_l);
1180 // And change the BIOS page
1181 write_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE,page);
1184 printf("Set active page %02x address %04x\n",page,address);
1187 // Display the cursor, now the page is active
1188 biosfn_set_cursor_pos(page,cursor);
1260 static void biosfn_scroll (nblines,attr,rul,cul,rlr,clr,page,dir)
1261 Bit8u nblines;Bit8u attr;Bit8u rul;Bit8u cul;Bit8u rlr;Bit8u clr;Bit8u page;Bit8u dir;
1263 // page == 0xFF if current
1281 // Get the current page
1282 if(page==0xFF)
1283 page=read_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE);
1293 address=SCREEN_MEM_START(nbcols,nbrows,page);
1295 printf("Scroll, address %04x (%04x %04x %02x)\n",address,nbrows,nbcols,page);
1408 static void biosfn_read_char_attr (page,car)
1409 Bit8u page;Bit16u *car;
1420 // Get the cursor pos for the page
1421 biosfn_get_cursor_pos(page,&dummy,&cursor);
1431 address=SCREEN_MEM_START(nbcols,nbrows,page)+(xcurs+ycurs*nbcols)*2;
1609 static void biosfn_write_char_attr (car,page,attr,count)
1610 Bit8u car;Bit8u page;Bit8u attr;Bit16u count;
1621 // Get the cursor pos for the page
1622 biosfn_get_cursor_pos(page,&dummy,&cursor);
1632 address=SCREEN_MEM_START(nbcols,nbrows,page)+(xcurs+ycurs*nbcols)*2;
1667 static void biosfn_write_char_only (car,page,attr,count)
1668 Bit8u car;Bit8u page;Bit8u attr;Bit16u count;
1679 // Get the cursor pos for the page
1680 biosfn_get_cursor_pos(page,&dummy,&cursor);
1690 address=SCREEN_MEM_START(nbcols,nbrows,page)+(xcurs+ycurs*nbcols)*2;
1940 static void biosfn_write_teletype (car, page, attr, flag)
1941 Bit8u car;Bit8u page;Bit8u attr;Bit8u flag;
1948 // special case if page is 0xff, use current page
1949 if(page==0xff)
1950 page=read_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_PAGE);
1957 // Get the cursor pos for the page
1958 biosfn_get_cursor_pos(page,&dummy,&cursor);
1986 biosfn_write_teletype(' ',page,attr,flag);
1987 biosfn_get_cursor_pos(page,&dummy,&cursor);
1997 address=SCREEN_MEM_START(nbcols,nbrows,page)+(xcurs+ycurs*nbcols)*2;
2042 address=SCREEN_MEM_START(nbcols,nbrows,page)+(xcurs+(ycurs-1)*nbcols)*2;
2044 biosfn_scroll(0x01,attr,0,0,nbrows-1,nbcols-1,page,SCROLL_UP);
2048 biosfn_scroll(0x01,0x00,0,0,nbrows-1,nbcols-1,page,SCROLL_UP);
2053 // Set the cursor for the page
2055 biosfn_set_cursor_pos(page,cursor);
2649 Bit16u crtc_addr,cols,page,vde;
3056 static void biosfn_write_string (flag,page,attr,count,row,col,seg,offset)
3057 Bit8u flag;Bit8u page;Bit8u attr;Bit16u count;Bit8u row;Bit8u col;Bit16u seg;Bit16u offset;
3062 // Read curs info for the page
3063 biosfn_get_cursor_pos(page,&dummy,&oldcurs);
3072 biosfn_set_cursor_pos(page,newcurs);
3080 biosfn_write_teletype(car,page,attr,WITH_ATTR);
3085 biosfn_set_cursor_pos(page,oldcurs);