Computed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4/3 for a classic CRT and using the given driver resolutions as storage aspect ratio (SAR).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5001 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -84,7 +84,7 @@ Y2 := ptr4
|
|||||||
pages: .byte 2 ; Number of screens available
|
pages: .byte 2 ; Number of screens available
|
||||||
.byte 7 ; System font X size
|
.byte 7 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 8 ; System font Y size
|
||||||
.word $100 ; Aspect ratio
|
.word $00EA ; Aspect ratio (based on 4/3 display)
|
||||||
|
|
||||||
; Next comes the jump table. With the exception of IRQ, all entries must be
|
; Next comes the jump table. With the exception of IRQ, all entries must be
|
||||||
; valid and may point to an RTS for test versions (function not implemented).
|
; valid and may point to an RTS for test versions (function not implemented).
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ Y2 := ptr4
|
|||||||
.byte 1 ; Number of screens available
|
.byte 1 ; Number of screens available
|
||||||
.byte 8 ; System font X size
|
.byte 8 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 8 ; System font Y size
|
||||||
.word $100 ; Aspect ratio
|
.word $0198 ; Aspect ratio (based on 4/3 display)
|
||||||
|
|
||||||
; Next comes the jump table. With the exception of IRQ, all entries must be
|
; Next comes the jump table. With the exception of IRQ, all entries must be
|
||||||
; valid and may point to an RTS for test versions (function not implemented).
|
; valid and may point to an RTS for test versions (function not implemented).
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0400 ; 4:1
|
aspect = $0330 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 7147
|
mem_needed = 7147
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0400 ; 4:1
|
aspect = $0330 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 15339
|
mem_needed = 15339
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0400 ; 4:1
|
aspect = $0330 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 7147
|
mem_needed = 7147
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0200 ; 2:1
|
aspect = $0198 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 3305
|
mem_needed = 3305
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0200 ; 2:1
|
aspect = $0198 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 7147
|
mem_needed = 7147
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0200 ; 2:1
|
aspect = $0198 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 15339
|
mem_needed = 15339
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 1
|
mem_needed = 1
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 1
|
mem_needed = 1
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 185
|
mem_needed = 185
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 1193
|
mem_needed = 1193
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 3209
|
mem_needed = 3209
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 7147
|
mem_needed = 7147
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0100 ; 1:1
|
aspect = $00CC ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 15339
|
mem_needed = 15339
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0400 ; 4:1
|
aspect = $0330 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 7147
|
mem_needed = 7147
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
; Screen memory size in bytes
|
; Screen memory size in bytes
|
||||||
scrsize = x_res * y_res / ppb
|
scrsize = x_res * y_res / ppb
|
||||||
; Pixel aspect ratio
|
; Pixel aspect ratio
|
||||||
aspect = $0400 ; 4:1
|
aspect = $0330 ; based on 4/3 display
|
||||||
; Free memory needed
|
; Free memory needed
|
||||||
mem_needed = 15339
|
mem_needed = 15339
|
||||||
; Number of screen pages
|
; Number of screen pages
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
.byte 1 ; Number of screens available
|
.byte 1 ; Number of screens available
|
||||||
xsize: .byte 6 ; System font X size
|
xsize: .byte 6 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 8 ; System font Y size
|
||||||
.word $100 ; Aspect ratio
|
.word $011C ; Aspect ratio (based on 4/3 display)
|
||||||
|
|
||||||
; Next comes the jump table. Currently all entries must be valid and may point
|
; Next comes the jump table. Currently all entries must be valid and may point
|
||||||
; to an RTS for test versions (function not implemented).
|
; to an RTS for test versions (function not implemented).
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ yres: .word 200 ; Y resolution
|
|||||||
pages: .byte 1 ; Number of screens available
|
pages: .byte 1 ; Number of screens available
|
||||||
.byte 8 ; System font X size
|
.byte 8 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 8 ; System font Y size
|
||||||
.word $100 ; Aspect ratio
|
.word $006A ; Aspect ratio (based on 4/3 display)
|
||||||
|
|
||||||
; Next comes the jump table. Currently all entries must be valid and may point
|
; Next comes the jump table. Currently all entries must be valid and may point
|
||||||
; to an RTS for test versions (function not implemented).
|
; to an RTS for test versions (function not implemented).
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ yres: .word 480 ; Y resolution
|
|||||||
pages: .byte 0 ; Number of screens available
|
pages: .byte 0 ; Number of screens available
|
||||||
.byte 8 ; System font X size
|
.byte 8 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 8 ; System font Y size
|
||||||
.word $100 ; Aspect ratio
|
.word $0100 ; Aspect ratio (based on 4/3 display)
|
||||||
|
|
||||||
; Next comes the jump table. Currently all entries must be valid and may point
|
; Next comes the jump table. Currently all entries must be valid and may point
|
||||||
; to an RTS for test versions (function not implemented).
|
; to an RTS for test versions (function not implemented).
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
.byte 1 ; Number of screens available
|
.byte 1 ; Number of screens available
|
||||||
.byte 8 ; System font X size
|
.byte 8 ; System font X size
|
||||||
.byte 8 ; System font Y size
|
.byte 8 ; System font Y size
|
||||||
.word $100 ; Aspect ratio
|
.word $00D4 ; Aspect ratio (based on 4/3 display)
|
||||||
|
|
||||||
; Next comes the jump table. With the exception of IRQ, all entries must be
|
; Next comes the jump table. With the exception of IRQ, all entries must be
|
||||||
; valid and may point to an RTS for test versions (function not implemented).
|
; valid and may point to an RTS for test versions (function not implemented).
|
||||||
|
|||||||
Reference in New Issue
Block a user