Skip to content

Commit 2cee8ce

Browse files
make qemu resolution same as live resolution
1 parent 7203399 commit 2cee8ce

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

limine-hdd.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
timeout: 0
2-
interface_resolution: 1920x1080
2+
interface_resolution: 1024x768
33
interface_branding: Retro Rocket
44
interface_branding_color: 3;1;40
55
randomize_memory: no
66

77
/Retro Rocket
88
protocol: limine
9-
resolution: 1920x1080x32
9+
resolution: 1024x768x32
1010
kaslr: no
1111
path: boot():/kernel.bin
1212
module_cmdline: Symbols

limine.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
timeout: 5
2-
interface_resolution: 1920x1080
2+
interface_resolution: 1024x768
33
interface_branding: Retro Rocket
44
interface_branding_color: 3;1;40
55
randomize_memory: no
66

77
/Retro Rocket
88
protocol: limine
9-
resolution: 1920x1080x32
9+
resolution: 1024x768x32
1010
kaslr: no
1111
path: boot():/kernel.bin
1212
module_cmdline: Symbols

os/images/owl.png

-276 Bytes
Loading

os/programs/about.rrbasic

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
SPRITELOAD brain,"/images/owl.png"
1+
SPRITELOAD owl,"/images/owl.png"
22
AUTOFLIP FALSE
3-
REM Go down 17 lines, then back up, to make room on screen for the images
4-
FOR Y = 0 TO 16
3+
REM Go down 20 lines, then back up, to make room on screen for the images
4+
FOR Y = 0 TO 19
55
PRINT ""
66
NEXT
7-
CURSOR 0, CURRENTY - 16
8-
SPRTOP=CURRENTY*16
7+
CURSOR 0, CURRENTY - 19
8+
SPRTOP=CURRENTY*8
99
COLOUR 14
1010
PRINT " Retro Rocket"
1111
COLOUR 7
@@ -33,12 +33,12 @@ M_MEGS = MEMUSED / 1024 / 1024
3333
MT_MEGS = MEMORY / 1024 / 1024
3434
PRINT M_MEGS; "MiB / "; MT_MEGS ; "MiB"
3535
PRINT " ";
36-
GRADLEFT=CURRENTX*9
37-
GRADTOP=CURRENTY*16+16
38-
FOR N = 0 TO 9
36+
GRADLEFT=CURRENTX*8
37+
GRADTOP=CURRENTY*8+8
38+
FOR N = 0 TO 16
3939
PRINT ""
4040
NEXT
41-
PLOT brain,32,SPRTOP
41+
PLOT owl,32,SPRTOP
4242
X = GRADLEFT
4343
W = 128
4444
H = 32

os/programs/edit.rrbasic

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ DEF PROCdraw
3636
PROCclearLineFromCursor
3737
CURSOR 2, TERMHEIGHT
3838
GCOL &AA
39-
RECTANGLE 0, GRAPHICS_HEIGHT - 20, GRAPHICS_WIDTH - 1, GRAPHICS_HEIGHT - 1
39+
RECTANGLE 0, GRAPHICS_HEIGHT - 8, GRAPHICS_WIDTH - 1, GRAPHICS_HEIGHT - 1
4040
PRINT "ESC EXIT", "^S SAVE", "^W WHEREIS", "^R REPLACE", "^T ";
4141
IF hl_on = TRUE THEN
4242
PRINT "DISABLE SYNTAX";
@@ -47,7 +47,7 @@ DEF PROCdraw
4747
PRINT currentx; ","; top + currenty; " ";
4848
CURSOR 1, 0
4949
PROCclearLineFromCursor
50-
RECTANGLE 0, 0, GRAPHICS_WIDTH - 1, 20
50+
RECTANGLE 0, 0, GRAPHICS_WIDTH - 1, 7
5151
CURSOR TERMWIDTH / 2 - 2, 0
5252
PRINT "EDIT";
5353
COLOUR 7

0 commit comments

Comments
 (0)