No way lol love ur content bro btw can i get discord invite lol
@maxmuster70036 ай бұрын
I like to use DOS batch files as a container to put x86 instructions of a routine inside the batch file to build a new executable com file for DOS with a little help from the external Debug command. I remember there was a Linux programmer and he put the elf header of a Linux executable together with a routine inside a shell script to create a new executable file for Linux. I used a 32 bit debian with nasm for x86 assembly to write directly into the buffered framebuffer device fb0 with a matrox graphic card in 1024x768x32. With other graphic cards the fb0 device starts allways with 24 bit colors and i never figure it out how to switch from 24 bit to 32 bit colors. The other graphic cards have modenumbers for 32 bit colors and i don’t understand why Linux use 24 bit and not the default mode number with 32 bit. The point is there is no single instruction to read/write 24 bit at once. We can use 8 bit, 16 bit and 32 bit with a single instruction. With 24 bit per pixel we have to use 2 instructions at minimum for each single pixel. So i prefer to use graphic modes with 32 bit colors RGBX, the last X byte have no effect on screen, but the pixel address is easy to calculate with 32 bit per pixel. Do you have any expierence with x86 assembly?
@maxmuster70036 ай бұрын
Good work. Personaly i have no Windows, so i can’t use Windows commands. But i have a DosBox emulator app installed to run batch files with DOS commands.
@nsx-ts3vv6 ай бұрын
I hope you enjoyed I will be making Linux content and kali Linux. good to hear that you are having fun scripting!
@maxmuster70036 ай бұрын
@@nsx-ts3vv I like to use DOS batch files as a container to put x86 instructions of a routine inside the batch file to build a new executable com file for DOS with a little help from the external Debug command. I remember there was a Linux programmer and he put the elf header of a Linux executable together with a routine inside a shell script to create a new executable file for Linux. I used a 32 bit debian with nasm for x86 assembly to write directly into the buffered framebuffer device fb0 with a matrox graphic card in 1024x768x32. With other graphic cards the fb0 device starts allways with 24 bit colors and i never figure it out how to switch from 24 bit to 32 bit colors. The other graphic cards have modenumbers for 32 bit colors and i don’t understand why Linux use 24 bit and not the default mode number with 32 bit. The point is there is no single instruction to read/write 24 bit at once. We can use 8 bit, 16 bit and 32 bit with a single instruction. With 24 bit per pixel we have to use 2 instructions at minimum for each single pixel. So i prefer to use graphic modes with 32 bit colors RGBX, the last X byte have no effect on screen, but the pixel address is easy to calculate with 32 bit per pixel. Do you have any expierence with x86 assembly?
@maxmuster70036 ай бұрын
I like to start a batch file with parameter attached. Example: OUTPUT.BAT 1b "Hello World" nice to meet you. @echo off color %1 echo %2 echo %3 echo %4 echo %5 echo %6 pause>nul