more modularization and updating date in MIT licence header

This commit is contained in:
2024-10-05 13:35:39 -04:00
parent d6af15a7a6
commit 5440a1ae61
15 changed files with 395 additions and 297 deletions

View File

@@ -1,4 +1,4 @@
; Copyright (c) 2023 Elaina Claus
; Copyright (c) 2024 Elaina Claus
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
@@ -41,23 +41,4 @@ struc PartTable_t
.partition2 resb 16
.partition3 resb 16
.partition4 resb 16
endstruc
;Offset Size Description
; 0 1 size of packet (16 bytes)
; 1 1 always 0
; 2 2 number of sectors to transfer (max 127 on some BIOSes)
; 4 4 transfer buffer (0xFFFF:0xFFFF)
; 8 4 lower 32-bits of starting 48-bit LBA
; 12 4 upper 32-bits of starting 48-bit LBA
; needs to be aligned to a uint32_t
struc LBAPkt_t
.size resb 1
.res0 resb 1
.xfer_size resw 1
.offset resw 1
.segment resw 1
.lower_lba resd 1
.upper_lba resd 1
endstruc