There's a nice sw set (TOSEC) in archive.org which include the rather rare "DR Graph" and useful original system oriented source code.
https://ia801503.us.archive.org/view_ar ... _04_23.zip
With this trick the (already fast) console gets sesnsibly faster:
Code: Select all
;
; Visual 1050 specific code
;
; Stefano Bodrato - 2023
;
;
; $Id: v1050_sendchar.asm $
;
SECTION code_clib
PUBLIC v1050_sendchar
.v1050_sendchar
; ld c,l
; ..using the BIOS
; ld de,9 ; shift ptr to CONOUT
; ld hl,(1) ; WBOOT (BIOS)
; add hl,de
; jp (hl)
; ..direct I/O
MDSPOT:
IN A,(86h) ; P_DISP_C: GET STATUS
AND 1 ; TEST BIT 0
JR Z,MDSPOT ; WAIT IF IT IS
; LD A,C ; GET THE CHARACTER
ld a,l
OUT (85h),A ; P_DISP_OUT ;AND PUT IN THE REG
LD A,0EH ; STROBE
OUT (87h),A ; P_DISP_CONTROL..
INC A ; STROBE OFF
OUT (87h),A ; P_DISP_CONTROL..
ret
Obviously I'm not going to replace the BDOS calls, I'm trying to get the most from the graphics.
The coordinates must be specified in ASCII decimal