tons more work on modularizing the code

This commit is contained in:
2024-10-05 18:55:00 -04:00
parent 446dd451be
commit f5f5a330cd
19 changed files with 360 additions and 296 deletions

View File

@@ -18,9 +18,11 @@
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
; SOFTWARE.
%ifndef __INC_VIDEO
; Sets output to 80x25 16 color text mode via BIOS call
; also clears screen
; void SetTextMode(void)
ALIGN 4, db 0x90
SetTextMode:
.prolog:
__CDECL16_ENTRY
@@ -39,6 +41,7 @@ SetTextMode:
ret
; disables blinking text mode cursor
ALIGN 4, db 0x90
disable_cursor:
__CDECL16_ENTRY
.func:
@@ -51,4 +54,7 @@ disable_cursor:
out dx, al
.endp:
__CDECL16_EXIT
ret
ret
%endif
%define __INC_VIDEO