Re-upload history

This commit is contained in:
TermiNexus committed 2026-07-28 03:15:28 +08:00
commit d5159ec11b
30 files changed
+4892

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#include <stdio.h>
//writerul [RULFILE] saiblibc.lib golibc.lib [LABEL-_SAIBStartup]
int main(int argc, char *argv[]) {
FILE *file = fopen(argv[1], "w");
if (file == NULL) {
printf("Error opening file %s\n", argv[1]);
return 1;
}
fprintf(file, "format:\n");
fprintf(file, " code(align:1, logic:0x24, file:0x24);\n");
fprintf(file, " data(align:4, logic:stack_end, file:code_end);\n");
fprintf(file, "file:\n");
fprintf(file, " %s;\n", argv[2]);
fprintf(file, " %s;\n", argv[3]);
fprintf(file, "label:\n");
fprintf(file, " %s;\n", argv[4]);
printf("Write Rul Finish\n");
fclose(file);
return 0;
}
+26
View File
@@ -0,0 +1,26 @@
#include <stdio.h>
//writerul [RULFILE] saiblibc.lib golibc.lib [LABEL-_SAIBStartup]
int main0(int argc, char *argv[]) {
FILE *file = fopen(argv[1], "w");
if (file == NULL) {
printf("Error opening file %s\n", argv[1]);
return 1;
}
fprintf(file, "format:\n");
fprintf(file, " code(align:1, logic:0x24, file:0x24);\n");
fprintf(file, " data(align:4, logic:stack_end, file:code_end);\n");
fprintf(file, "file:\n");
fprintf(file, " %s;\n", argv[2]);
fprintf(file, " %s;\n", argv[3]);
fprintf(file, "label:\n");
fprintf(file, " %s;\n", argv[4]);
printf("Write Rul Finish\n");
fclose(file);
return 0;
}
+1
View File
@@ -0,0 +1 @@
.file "1.ca"
+192
View File
@@ -0,0 +1,192 @@
Archive member included because of file (symbol)
.\w32clibc.lib(startup.obj) (mainCRTStartup)
.\w32clibc.lib(malloc.obj) .\w32clibc.lib(startup.obj) (malloc)
.\w32clibc.lib(stdin.obj) .\w32clibc.lib(startup.obj) (__stdin)
.\libmingw.lib(ds00207.o) .\w32clibc.lib(startup.obj) (GetCommandLineA@0)
.\libmingw.lib(ds00342.o) .\w32clibc.lib(startup.obj) (GetStdHandle@4)
.\libmingw.lib(ds00130.o) .\w32clibc.lib(startup.obj) (ExitProcess@4)
.\libmingw.lib(ds00323.o) .\w32clibc.lib(malloc.obj) (GetProcessHeap@0)
.\libmingw.lib(ds00415.o) .\w32clibc.lib(malloc.obj) (HeapAlloc@12)
.\libmingw.lib(dh.o) .\libmingw.lib(ds00207.o) (_head_libkernel32_a)
.\libmingw.lib(dt.o) .\libmingw.lib(dh.o) (_libkernel32_a_iname)
Memory Configuration
Name Origin Length Attributes
*default* 0x00000000 0xffffffff
Linker script and memory map
0x00400000 __image_base__ = 0x400000
0x00000000 __dll__ = 0x0
0x00001000 __section_alignment__ = 0x1000
0x00000200 __file_alignment__ = 0x200
0x00000004 __major_os_version__ = 0x4
0x00000000 __minor_os_version__ = 0x0
0x00000001 __major_image_version__ = 0x1
0x00000000 __minor_image_version__ = 0x0
0x00000004 __major_subsystem_version__ = 0x4
0x00000000 __minor_subsystem_version__ = 0x0
0x00000003 __subsystem__ = 0x3
0x01000000 __size_of_stack_reserve__ = 0x1000000
0x00001000 __size_of_stack_commit__ = 0x1000
0x00100000 __size_of_heap_reserve__ = 0x100000
0x00001000 __size_of_heap_commit__ = 0x1000
0x00000000 __loader_flags__ = 0x0
LOAD 1.obj
LOAD .\w32clibc.lib
LOAD .\golibc.lib
LOAD .\libmingw.lib
.text 0x00401000 0x200
*(.init)
*(.text)
.text 0x00401000 0xf3 .\w32clibc.lib(startup.obj)
0x004010b1 mainCRTStartup
.text 0x004010f3 0x15 .\w32clibc.lib(malloc.obj)
0x004010f3 malloc
*fill* 0x00401108 0x8 00
.text 0x00401110 0x8 .\libmingw.lib(ds00207.o)
0x00401110 GetCommandLineA@0
*fill* 0x00401118 0x8 00
.text 0x00401120 0x8 .\libmingw.lib(ds00342.o)
0x00401120 GetStdHandle@4
*fill* 0x00401128 0x8 00
.text 0x00401130 0x8 .\libmingw.lib(ds00130.o)
0x00401130 ExitProcess@4
*fill* 0x00401138 0x8 00
.text 0x00401140 0x8 .\libmingw.lib(ds00323.o)
0x00401140 GetProcessHeap@0
*fill* 0x00401148 0x8 00
.text 0x00401150 0x8 .\libmingw.lib(ds00415.o)
0x00401150 HeapAlloc@12
*fill* 0x00401158 0x8 00
*(SORT(.text$*))
*(.glue_7t)
*(.glue_7)
0x00401160 ___CTOR_LIST__ = .
0x00401160 __CTOR_LIST__ = .
0x00401160 0x4 LONG 0xffffffff
*(SORT(.ctors.*))
*(.ctors)
*(.ctor)
0x00401164 0x4 LONG 0x0
0x00401168 ___DTOR_LIST__ = .
0x00401168 __DTOR_LIST__ = .
0x00401168 0x4 LONG 0xffffffff
*(SORT(.dtors.*))
*(.dtors)
*(.dtor)
0x0040116c 0x4 LONG 0x0
*(.fini)
*(.gcc_exc)
0x00401170 etext = .
*(.gcc_except_table)
.data 0x00402000 0x200
0x00402000 __data_start__ = .
*(.data)
.data 0x00402000 0x24 .\w32clibc.lib(stdin.obj)
0x00402018 __stderr
0x0040200c __stdout
0x00402000 __stdin
*fill* 0x00402024 0xc 00
*(.data2)
*(SORT(.data$*))
0x00402030 __data_end__ = .
*(.data_cygwin_nocopy)
.rdata
*(.rdata)
*(SORT(.rdata$*))
*(.eh_frame)
.pdata
*(.pdata)
.bss 0x00403000 0x0
0x00403000 __bss_start__ = .
*(.bss)
*(COMMON)
0x00403000 __bss_end__ = .
.edata
*(.edata)
/DISCARD/
*(.debug$S)
*(.debug$T)
*(.debug$F)
*(.drectve)
.idata 0x00403000 0x200
SORT(*)(.idata$2)
.idata$2 0x00403000 0x14 .\libmingw.lib(dh.o)
0x00403000 _head_libkernel32_a
SORT(*)(.idata$3)
0x00403014 0x4 LONG 0x0
0x00403018 0x4 LONG 0x0
0x0040301c 0x4 LONG 0x0
0x00403020 0x4 LONG 0x0
0x00403024 0x4 LONG 0x0
SORT(*)(.idata$4)
.idata$4 0x00403028 0x4 .\libmingw.lib(dh.o)
.idata$4 0x0040302c 0x4 .\libmingw.lib(ds00130.o)
.idata$4 0x00403030 0x4 .\libmingw.lib(ds00207.o)
.idata$4 0x00403034 0x4 .\libmingw.lib(ds00323.o)
.idata$4 0x00403038 0x4 .\libmingw.lib(ds00342.o)
.idata$4 0x0040303c 0x4 .\libmingw.lib(ds00415.o)
.idata$4 0x00403040 0x4 .\libmingw.lib(dt.o)
SORT(*)(.idata$5)
.idata$5 0x00403044 0x4 .\libmingw.lib(dh.o)
.idata$5 0x00403048 0x4 .\libmingw.lib(ds00130.o)
0x00403048 _imp__ExitProcess@4
.idata$5 0x0040304c 0x4 .\libmingw.lib(ds00207.o)
0x0040304c _imp__GetCommandLineA@0
.idata$5 0x00403050 0x4 .\libmingw.lib(ds00323.o)
0x00403050 _imp__GetProcessHeap@0
.idata$5 0x00403054 0x4 .\libmingw.lib(ds00342.o)
0x00403054 _imp__GetStdHandle@4
.idata$5 0x00403058 0x4 .\libmingw.lib(ds00415.o)
0x00403058 _imp__HeapAlloc@12
.idata$5 0x0040305c 0x4 .\libmingw.lib(dt.o)
SORT(*)(.idata$6)
.idata$6 0x00403060 0xe .\libmingw.lib(ds00130.o)
*fill* 0x0040306e 0x2 00
.idata$6 0x00403070 0x12 .\libmingw.lib(ds00207.o)
*fill* 0x00403082 0x2 00
.idata$6 0x00403084 0x12 .\libmingw.lib(ds00323.o)
*fill* 0x00403096 0x2 00
.idata$6 0x00403098 0x10 .\libmingw.lib(ds00342.o)
.idata$6 0x004030a8 0xc .\libmingw.lib(ds00415.o)
SORT(*)(.idata$7)
.idata$7 0x004030b4 0x4 .\libmingw.lib(ds00130.o)
.idata$7 0x004030b8 0x4 .\libmingw.lib(ds00207.o)
.idata$7 0x004030bc 0x4 .\libmingw.lib(ds00323.o)
.idata$7 0x004030c0 0x4 .\libmingw.lib(ds00342.o)
.idata$7 0x004030c4 0x4 .\libmingw.lib(ds00415.o)
.idata$7 0x004030c8 0x10 .\libmingw.lib(dt.o)
0x004030c8 _libkernel32_a_iname
.CRT
*(SORT(.CRT$*))
.endjunk 0x00404000 0x0
0x00404000 end = .
0x00404000 _end = .
0x00404000 __end__ = .
.rsrc
*(.rsrc)
*(SORT(.rsrc$*))
.reloc
*(.reloc)
.stab
*(.stab)
.stabstr
*(.stabstr)
OUTPUT(1.exe pei-i386)
+6
View File
@@ -0,0 +1,6 @@
[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[OPTIMIZE 1]
[OPTION 1]
[BITS 32]
[FILE "1.ca"]
BIN
View File
Binary file not shown.
+5
View File
@@ -0,0 +1,5 @@
sjisconv.exe -s 1.c 1.ca
cc1.exe -I.\ -Dmain=main0 -Os -Wall -quiet -o 1.gas 1.ca
gas2nask.exe -a 1.gas 1.nas
nask.exe 1.nas 1.obj
ld.exe -s -Bdynamic --stack 0x1000000 -o 1.exe -Map 1.map 1.obj .\w32clibc.lib .\golibc.lib .\libmingw.lib
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
View File
Whitespace-only changes.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.