@@ -809,11 +809,9 @@ lfb_wc_end:
809809
810810 ;; Kernel to its final location.
811811 mov esi , TSL_BASE_ADDRESS + BOOTLOADER_SIZE ;; Offset to end of tsl.sys
812-
813- ;; La direccion a la cual el kernel se copia, tal como luego comienza ejecut
814- ;; ando en _start en 0x100000
815- mov rdi , 0x100000 ;; Final Destination.
816- mov rcx , (( 32768 - BOOTLOADER_SIZE) / 8 )
812+ mov rdi , 0x100000 ;; Kernel final destination.
813+ ;;mov rcx, ((32768 - BOOTLOADER_SIZE) / 8)
814+ mov rcx , ((( 232 * 1024 ) - BOOTLOADER_SIZE) / 8 ) ;; 232KiB Kernel + Userland
817815 rep movsq
818816
819817%ifdef BIOS
@@ -888,44 +886,15 @@ debug_progressbar:
888886%endif
889887
890888
891-
892-
893-
894-
895-
896-
897-
898-
899-
900-
901-
902-
903-
904-
905-
906-
907-
908-
909-
910-
911-
912-
913-
914-
915-
916-
917-
918-
919-
920-
921-
922-
923-
924-
925-
926-
927-
928-
889+ ;;==============================================================================
890+ ;;==============================================================================
891+ ;;==============================================================================
892+ ;;==============================================================================
893+ ;;==============================================================================
894+ ;;==============================================================================
895+ ;;==============================================================================
896+ ;;==============================================================================
897+ ;;==============================================================================
929898;;==============================================================================
930899;; @file /asm/lib/lib.asm
931900;;==============================================================================
@@ -1491,66 +1460,16 @@ msg_idt_load db "load... ", 0
14911460msg_exception_occurred db "An exception has occurred in the system." , 0x0A , 0
14921461
14931462
1494-
1495-
1496-
1497-
1498-
1499-
1500-
1501-
1502-
1503-
1504-
1505-
1506-
1507-
1508-
1509-
1510-
1511-
1512-
1513-
1514-
1515-
1516-
1517-
1518-
1519-
1520-
1521-
1522-
1523-
1524-
1525-
1526-
1527-
1528-
1529-
1530-
1531-
15321463BOOTLOADER_SIZE equ 0x2000 ;; 8KiB
15331464
15341465
1535- ;;;;;;;;;;; para generar un loop y dejar q se vea mensaje antes de ir a bootloader
1536- ;;; sacar, no va
1537- ;;;time_delay dq 800000
15381466
15391467EOF:
15401468 db 0xDE , 0xAD , 0xC0 , 0xDE
15411469
1542- ; Pad to an even KB file
1470+ ;; Pad to an even KB file
15431471times BOOTLOADER_SIZE - ($ - $$) db 0x90
15441472
15451473
1546-
1547-
1548-
1549-
1550-
1551-
1552-
1553-
1554-
15551474; =============================================================================
15561475; EOF
0 commit comments