Outline ·
[ Standard ] ·
Linear+
Minimal GUI app in Linux, 972 bytes only
TSFlierMate1
|
Jun 23 2022, 02:27 PM, updated 2d ago
|
Getting Started

|
A Russian coder managed to create simple GUI app in Linux using pure Assembly (without the need for linking object file) in just 972 bytes! Terrific. This is the GUI app (empty window):  This app has string table defined as: CODE STRING_TABLE: db 0 str@libX11.so.6 db 'libX11.so.6',0 str@XMapRaised db 'XMapRaised',0 str@XCreateSimpleWindow db 'XCreateSimpleWindow',0 str@XNextEvent db 'XNextEvent',0 str@XSelectInput db 'XSelectInput',0 str@XOpenDisplay db 'XOpenDisplay',0
It connects to X Server. Command-line to compile GUI.asm and the terminal message after running it. Attached File(s)
gui.txt ( 3.66k )
Number of downloads: 8
|
|
|
|
TSFlierMate1
|
Jun 28 2022, 05:13 PM
|
Getting Started

|
I ported my cpuname.asm to guicpuid.asm, so that now it can displays processor name in a windowed application, instead of in terminal window. The full source (compile with FASM) and Linux x64 app is attached in the guicpuid.zip file below, feel free to download and try. You can change the source code to display anything you want, all in a windowed application.  To run the application, just double-click "guicpuid" icon. Maybe also need to enable "Execute" permission:  Then, double-click the blue icon: This post has been edited by FlierMate1: Jun 28 2022, 08:35 PM Attached File(s)
guicpuid.zip ( 2.49k )
Number of downloads: 0
|
|
|
|