Changeset 50920 in vbox for trunk/src/VBox
- Timestamp:
- Mar 28, 2014 3:39:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
r43152 r50920 1414 1414 switch(car) 1415 1415 { 1416 case 7:1416 case '\a': // ASCII 0x07, BEL 1417 1417 //FIXME should beep 1418 1418 break; 1419 1419 1420 case 8:1420 case '\b': // ASCII 0x08, BS 1421 1421 if(xcurs>0)xcurs--; 1422 1422 break; 1423 1423 1424 case '\r': 1425 xcurs=0; 1426 break; 1427 1428 case '\n': 1424 case '\n': // ASCII 0x0A, LF 1429 1425 ycurs++; 1430 1426 break; 1431 1427 1432 case '\t': 1433 do 1434 { 1435 biosfn_write_teletype(' ',page,attr,flag); 1436 vga_get_cursor_pos(page,&dummy,&cursor); 1437 xcurs=cursor&0x00ff;ycurs=(cursor&0xff00)>>8; 1438 }while(xcurs%8==0); 1428 case '\r': // ASCII 0x0D, CR 1429 xcurs=0; 1439 1430 break; 1440 1431 … … 1476 1467 } 1477 1468 xcurs++; 1478 } 1479 1480 // Do we need to wrap ? 1481 if(xcurs==nbcols) 1482 {xcurs=0; 1483 ycurs++; 1469 // Do we need to wrap ? 1470 if(xcurs==nbcols) 1471 {xcurs=0; 1472 ycurs++; 1473 } 1484 1474 } 1485 1475
Note:
See TracChangeset
for help on using the changeset viewer.