From d1dfc42a501b477bda26a09fd91ef07ec30d7dd1 Mon Sep 17 00:00:00 2001 From: OmniaX Date: Mon, 2 Sep 2024 07:57:32 +0200 Subject: [PATCH] Sync push --- build.nr | 2 +- extra/dss/bios/data.dss | 17 ++++++++++------- extra/dss/bios_api.dss | 2 +- extra/info/info | 6 +++--- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/build.nr b/build.nr index f70509d..3c8cfd3 100644 --- a/build.nr +++ b/build.nr @@ -1 +1 @@ -1601 +1602 diff --git a/extra/dss/bios/data.dss b/extra/dss/bios/data.dss index e953510..ef94148 100644 --- a/extra/dss/bios/data.dss +++ b/extra/dss/bios/data.dss @@ -8,7 +8,7 @@ @export_comment BIOS_API " --\n" ## ============================= Memory Mapped Devices and Registers ============================= -@export_comment BIOS_API "These are the base addresses of the memory map." +@export_comment BIOS_API " These are the base addresses of the memory map." @raw_export_start BIOS_API @group MemoryAddresses MBR 0x1380 @@ -32,7 +32,7 @@ -@export_comment BIOS_API "These are the Hardware Interrupt codes of this machine." +@export_comment BIOS_API " These are the Hardware Interrupt codes of this machine." @raw_export_start BIOS_API @group HW_Int DISK_INTERFACE_FINISHED 0x80 @@ -45,10 +45,12 @@ -@export_comment BIOS_API "These are the memory-mapped registers used to interact with the video card's interface." +@export_comment BIOS_API " These are the memory-mapped registers used to interact with the video card's interface." @raw_export_start BIOS_API @group VGA_Registers VIDEO_MODE { MemoryAddresses.VGA + 0x0000 } + CLEAR_COLOR { MemoryAddresses.VGA + 0x0001 } + PALETTE { MemoryAddresses.VGA + 0x0002 } SIGNAL { MemoryAddresses.VGA + 0x0003 } TEXT_SINGLE_CHAR { MemoryAddresses.VGA + 0x0004 } TEXT_SIGNLE_INVERT { MemoryAddresses.VGA + 0x0005 } @@ -61,17 +63,18 @@ -@export_comment BIOS_API "These are the different Video Modes that the video card supports." +@export_comment BIOS_API " These are the different Video Modes that the video card supports." @raw_export_start BIOS_API @group VGA_VideoModes TEXT_SINGLE_COLOR 0x00 + TEXT_16_COLORS 0x01 @end @raw_export_end @export_comment BIOS_API " --\n" -@export_comment BIOS_API "These are signals used to comunicate with the video card's interface, when in TEXT_SINGLE_COLOR mode." +@export_comment BIOS_API " These are signals used to comunicate with the video card's interface, when in TEXT_SINGLE_COLOR mode." @raw_export_start BIOS_API @group Sig_VGA_Text_Single_Color CONTINUE 0x00 @@ -100,7 +103,7 @@ ## ========================================== Other Data ========================================= -@export_comment BIOS_API "Structure of a DPT (Dragon Partition Table)." +@export_comment BIOS_API " Structure of a DPT (Dragon Partition Table)." @raw_export_start BIOS_API @group DPTStructure DISK_ADDR 0x0200 @@ -118,7 +121,7 @@ @export_comment BIOS_API " --\n" -@export_comment BIOS_API "Structure to store a DPT block." +@export_comment BIOS_API " Structure to store a DPT block." @raw_export_start BIOS_API @struct DPTBlock ID:2 diff --git a/extra/dss/bios_api.dss b/extra/dss/bios_api.dss index 1bcacc5..72fd70c 100644 --- a/extra/dss/bios_api.dss +++ b/extra/dss/bios_api.dss @@ -1,5 +1,5 @@ ## -- -## -- This file is automatically generated by the DragonAssembler (version 0.3.1599) +## -- This file is automatically generated by the DragonAssembler (version 0.4.1601) ## -- Please do not modify this file in any way. ## -- diff --git a/extra/info/info b/extra/info/info index ed23c4d..896a2d8 100644 --- a/extra/info/info +++ b/extra/info/info @@ -73,15 +73,15 @@ 0x1600 VIDEO CARD INTERFACE (256 Bytes) 0x00: Video Mode (1 Byte) 0x00: Text Single Color - # 0x01: Text 16-color + 0x01: Text 16-color # 0x02: Text 256-color # 0x03: Text True Color Mode # 0x04: GFX Single Color # 0x05: GFX 16-color # 0x06: GFX 256-color # 0x07: GFX True Color Mode - # 0x01: Clear Color (1 Byte) - # 0x02: Palette (1 Byte) + 0x01: Clear Color (1 Byte) + 0x02: Palette (1 Byte) 0x03: Signal (1 Byte) 0x00: Continue