Please refer to previous revisions if you know what to do.
The patch proposed was merged into kernel in 5.8 release, but no longer working as of linux 5.11
#!/bin/bash | |
show-help() { | |
BASENAME=$(basename "$0") | |
echo "Usage: $BASENAME [device-name] [optional-resolution] [optional-density]" | |
exit 1 | |
} | |
[[ $1 = "-h" || $1 = "--help" ]] && show-help |
; Utility routines for NASM macOS 32bit | |
; Nevedomsky Dmitry, 2018 | |
; macOS 10.15 Catalina removed support for executing 32bit apps | |
; See util64.asm for 64bit version | |
;============================================================================== | |
; CONSTANTS | |
;============================================================================== |
git clean -xfd | |
git submodule foreach --recursive git clean -xfd | |
git reset --hard | |
git submodule foreach --recursive git reset --hard | |
git submodule update --init --recursive |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- google's material design colours from | |
http://www.google.com/design/spec/style/color.html#color-ui-color-palette --> | |
<!--reds--> | |
<color name="md_red_50">#FFEBEE</color> | |
<color name="md_red_100">#FFCDD2</color> | |
<color name="md_red_200">#EF9A9A</color> |
; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
global start | |
section .text | |
start: | |
push dword msg.len | |
push dword msg | |
push dword 1 | |
mov eax, 4 |