Correct aspect ratio

Early compact Macintoshes (including the Plus) use 512 by 342 resolution monochrome monitors with 1:1 PAR and 256:171 DAR.
This commit is contained in:
meauxdal 2024-04-01 12:11:41 -04:00 committed by GitHub
parent 708e2e510f
commit c9f069de97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@ module emu
output VGA_F1,
output [1:0] VGA_SL,
output VGA_SCALER, // Force VGA scaler
output VGA_DISABLE, // analog out is off
output VGA_DISABLE, // analog out is off
input [11:0] HDMI_WIDTH,
input [11:0] HDMI_HEIGHT,
@ -173,8 +173,8 @@ module emu
input OSD_STATUS
);
assign ADC_BUS = 'Z;
assign ADC_BUS = 'Z;
assign USER_OUT = '1;
assign {DDRAM_CLK, DDRAM_BURSTCNT, DDRAM_ADDR, DDRAM_DIN, DDRAM_BE, DDRAM_RD, DDRAM_WE} = 0;
@ -195,8 +195,8 @@ video_freak video_freak
.VGA_DE_IN(VGA_DE),
.VGA_DE(),
.ARX((!ar) ? 12'd4 : (ar - 1'd1)),
.ARY((!ar) ? 12'd3 : 12'd0),
.ARX((!ar) ? 12'd256 : (ar - 1'd1)),
.ARY((!ar) ? 12'd171 : 12'd0),
.CROP_SIZE(0),
.CROP_OFF(0),
.SCALE(status[12:11])