Baaaah c'est faitG-Rom a écrit :Remplace :Box((x-1)*w, (y-1)*h, w,h,IBM_SCREEN(x,y))
par :PosX.f = (x-1)*w
PosY.f = (y-1)*h
Box(PosX, PosY, w,h,IBM_SCREEN(x,y))

Code : Tout sélectionner
Procedure RenderVirtualScreen(Output, OutputWidth, OutputHeight)
w.f = OutputWidth / 80
h.f = OutputHeight / 24
StartDrawing(Output)
For y = 1 To 24
For x = 1 To 80
PosX.f = (x-1)*w
PosY.f = (y-1)*h
Box(PosX, PosY, w,h,IBM_SCREEN(x,y))
Next
Next
StopDrawing()
EndProcedure
