- always use page 6 for P/M mouse cursor

- make cursor character of text mode callback configurable
- change default cursor character of text mode callback from 'plus' to 'diamond'
- set P/M callback as default
This commit is contained in:
Christian Groessler
2014-04-11 23:46:53 +02:00
parent 661203a89a
commit 526b440b24
5 changed files with 257 additions and 220 deletions

View File

@@ -0,0 +1,32 @@
;
; P/M mouse shape default definition
;
; Christian Groessler, 11.04.2014
;
; Note that the height of the mouse cursor must not exceed 32
; lines, otherwise the display routines won't do The Right
; Thing(tm).
;
.export mouse_pm_bits
.export mouse_pm_height : absolute
.export mouse_pm_hotspot_x : absolute
.export mouse_pm_hotspot_y : absolute
.data
mouse_pm_bits:
.byte %11110000
.byte %11000000
.byte %10100000
.byte %10010000
.byte %10001000
.byte %00000100
.byte %00000010
mouse_pm_height = * - mouse_pm_bits
; hot spot is upper left corner
mouse_pm_hotspot_x = 0
mouse_pm_hotspot_y = 0