Hello,
The demo scene has been around for a very long time. Often in the process of developing another cool demo, you have to invent cool algorithms: both for beautiful animations and tracker music, and for code. Sometimes the code is large, so it needs to be compressed.
, , , . - , - β , . PowerPacker, , .
PowerPacker
() PowerPacker ( AmigaOS ). , , . , (, ).
PowerPacker : . , , , (Nico François) , powerpacker.library
.
, RNC ProPack, :
- - IDA Pro ( , )
- Amiga Hunk Ghidra ()
- library- Ghidra ( )
- gdb- AmigaOS, ( )
kickstart rom
( - , AmigaOS, ).
IDA GDB
m68k
. , , , AmigaOS, . WinUAE gdb
.
, , Visual Code
: https://github.com/BartmanAbyss/vscode-amiga-debug, C, WinUAE gdb
-. : .
. , C-, , . :
- ( goto)
- 16- , 32-. - , .
, . :
C:\Users\<USER>\.vscode\extensions\bartmanabyss.amiga-debug-1.0.0
(, ). .\bin
:
- dh0\
- dh0\runme.exe
- dh0\s\
- dh0\s\startup-sequence
- opt\
- default.uae
- elf2hunk.c
- elf2hunk.exe
- gnumake.exe
- winuae.ini
- winuae-gdb.exe
.\dh0\s
startup-sequence
, , . :
:runme.exe
. runme.exe
PowerPacker-, powerpacker.library
. . , .\dh0\
Libs
( AmigaOS) . .
winuae-gdb.exe
, 2345
gdb
, . IDA Remote GDB debugger
WinUAE.
2345
, Debugger
->Attach to process...
, id = 0
.
:
, , , idb β 0x10000
, Rebase 0x27D30
. , .
β¦ , 20. , , , . WinUAE (, , ), 20
. , 999
, - .
powerpacker.library
, , . , ( ), idb
, , , . , , , , .. , , ( Edit segment...
):
, Debugger segment
, OK
, . : , , .
, , , , , . .
AmigaOS , :
, , , , . , - , , . , . .
- ( ) , . , , .
210
, ( ), :