ScrapExplorer - print.s
Home / arch / x86 / phoenix / src / lib Lines: 1 | Size: 699 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1; SPDX-License-Identifier: GPL-3.0 2; Phoenix 3; 4; lib/print.s 5; Main printing libary 6; 7; COPYRIGHT NOTICE 8; Copyright (C) 2024 0x4248 and phoenix contributors 9; Redistribution and use in source and binary forms, with or without 10; modification, are permitted provided that the license is not changed. 11; 12; This software is free and open source. Licensed under the GNU general 13; public license version 3.0 as published by the Free Software Foundation. 14 15 16print_string: 17 .loop: 18 lodsb 19 or al, al 20 jz .done 21 mov ah, 0x0E 22 int 0x10 23 jmp .loop 24 .done: 25 ret 26 27new_line: 28 mov ah, 0x0E 29 mov al, 0x0A 30 int 0x10 31 mov al, 0x0D 32 int 0x10 33 ret 34[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.