Skip to content

Commit 95e86ea

Browse files
grafico tsl start
1 parent 914bfdc commit 95e86ea

11 files changed

Lines changed: 15 additions & 19 deletions

File tree

asm/include/sysvar.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ IM_ActivedCoreIDs: equ 0x0000000000005E00 ;; 1by per entry. 1 = 1 core active.
2727
;; [0x00005F10] ;; Screen X
2828
;; [0x00005F12] ;; Screen Y
2929
;; [0x00005F14] ;; PixelsPerScanLine
30+
;; [0x00005F16] ;; bpp
3031
;; Luego, durante el bootloader, la mantiene aqui, pero tambien copia al infoMap
3132
;; 0x5080
3233

asm/tsl_start.asm

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,28 @@
88

99
;; Ubicacion en memoria los distintos fuentes que componen esta parte de inicial
1010
;; izacion del sistema.
11-
;; +---------------+------------+-------+---..---+----------+------+
12-
;; | start | tsl_sta | tsl_ap.asm | .data | 00..00 | tsl.asm |.data |
13-
;; | 16.asm | rt.asm
14-
;; | .text_low | .text_low | _low | 00..00 | .text | |
15-
;; +---------------+------------+-------+---..---+----------+------+
16-
;; |^ | | | | | |
17-
;; |<-------------- 4KiB -------------->| |<---- KiB ---->|
18-
;; 0x8000 0x8200 0x8400 0x800000
19-
;;
20-
;; 20250924:
21-
;; code 0 a 0x200 , data 0x200 a 400
22-
;; y en 0x400 aparece tsl que se carga en 800000
11+
;; +----------+---------+----------------+--/ /---+--------------+
12+
;; | start | tsl_sta | tsl_ | 00..00 | tsl.asm |
13+
;; | 16.asm | rt.asm | ap.asm | 00..00 | |
14+
;; | .text_ | .text_ | .text_ | .data | 00..00 | .text |.data |
15+
;; | start16 | low | low | _low | 00..00 | | |
16+
;; +----------+---------+--------+-------+--/ /---+-------+------+
17+
;; |^ |^ |^ |^ |^ |^ |^
18+
;; 0x7E00 0x8000 0x8200 0x8800 0x800000 802000 803000
19+
;; |<- 512 -->|<--------- 4KiB --------->| |<--- 12KiB --->|
20+
;; (solo bios)
2321

2422
%include "./asm/include/tsl.inc"
2523

2624
;; tsl_ap.asm
2725
extern bootmode_branch
28-
extern testeoJump
2926

30-
;; 1 pagina reservada en 0x8000 para booteo en 16 bits de los ap. Terminado ese
27+
;; 1 pagina en 0x8000 utilizada para booteo en 16 bits de los ap. Terminado ese
3128
;; codigo, se salta a 0x800000.
3229

3330

3431
section .text
3532

36-
;;BITS 16
37-
3833

3934
start:
4035
jmp bootmode_branch ;; Pisado con "nop" para q comiencen los ap aqui (patch_

asm/uefi.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,9 @@ exit_uefi_services:
784784
;; | | low | low | 00..0 | hi | hi | .bin | land.bin |
785785
;; +---------------------------------------------+--------------------+
786786
;; |< 0x200 >|0x200 |0x100 | |0x2000|0x1000|<----- 226KiB ----->|
787-
;; |<-- 0x600 --->|<------------ 238KiB ------------>|
788-
;; |<----------- 0x800 ----------->|
789-
;; |<---------------------------- 240KiB ---------------------------->|
787+
;; |<-- 0x600 --->|
788+
;; |<----------- 2KiB ------------>|<------------ 238KiB ------------>|
789+
;; |<--------------------------- 240KiB ----------------------------->|
790790
;; |^ |^ |^
791791
;; 0x404000 0x404800 0x440000
792792
;; PAYLOAD

elf/tsl_hi.elf

24 Bytes
Binary file not shown.

elf/tsl_lo.elf

72 Bytes
Binary file not shown.

elf/uefi.elf

0 Bytes
Binary file not shown.

obj/mbr.o

32 Bytes
Binary file not shown.

obj/start16.o

32 Bytes
Binary file not shown.

obj/tsl.o

32 Bytes
Binary file not shown.

obj/tsl_ap.o

32 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)