summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1239008
blob: 918e7473c10018149c13f486f8db4cd3970512f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
qemu fails to scroll screen on ^Vidmem output

Pascal uses ^Vidmem for B800 console output. The terminal does not oblige the Pascal OS code to scroll the output. Virtualbox emulation works, so this must be a qemu bug. Using QEMU in KVM mode as Ubuntu LTS.

Source line to trip bug(in theory pushes VideoMem up one line):

procedure Scroll;
//this is whats causing crashes. FIXME:Virtualbox not affected.QEMU BUG?
begin
  if scrolldisabled then exit;
      if (CursorPosY >= 24) then begin  //in case called before end of screen
    blank:= $20 or (TextAttr shl 8);
    Move((VidMem+(2*80))^,VidMem^,24*(2*80));
    // Empty last line
    FillWord((VidMem+(24*2*80))^,80,Blank);
    CursorPosX:=1;
    CursorPosY:=23;
    update_cursor;
  end;
end;