Skip to content

Commit 1eaedc1

Browse files
Apply suggestions from code review
Co-Authored-By: Philipp Oppermann <[email protected]>
1 parent 8785c91 commit 1eaedc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/video_mode/vga_320x200.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ vga_map_frame_buffer_loop:
1919
mov [_p1 + ecx * 8], eax
2020

2121
add eax, 4096
22-
cmp eax, 0xbffff
22+
cmp eax, 0xc0000
2323
jl vga_map_frame_buffer_loop
2424

2525
ret

src/video_mode/vga_text_80x25.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ vga_map_frame_buffer_loop:
1919
mov [_p1 + ecx * 8], eax
2020

2121
add eax, 4096
22-
cmp eax, 0xbffff
22+
cmp eax, 0xc0000
2323
jl vga_map_frame_buffer_loop
2424

2525
ret

0 commit comments

Comments
 (0)