Types and functions for JKRThread, JKRFile, JKRDvdFile, JKRFileCache... (#17)

* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine

* JKRDisposer!

* only 4 functions not OK in JKRHeap

* JKRThread asm functions

* more JKRThread

* JKRThreadSwitch

* JKRThread::JKRThread

* More JKRTHread functions and vtable

* fixed bad merge

* update JKRThread and JKRThreadSwitch to use new virtual inheritance

* save before asmsplit.py script

* JKRFile

* JKRDvdFile

* JKRFileCache

* JKRFileFinder

* JKRFileLoader

* JKRAssertHeap

* JKRExpHeap

* JKRSolidHeap

* fixed type and functions definitions

* JKRArchive (Pub)

* missed file

* JKRArchive

* forgot obj_files.mk

* fixed merge error and class members

* class members

* removed unused asm files

* added names to global variables

* class members for JKRHeap, JKRExpHeap, JKRSolidHeap, and JKRFileCache.
This commit is contained in:
Jonathan Wase
2020-12-05 18:45:10 +01:00
committed by GitHub
parent 3dc3739ebd
commit fb1217e3f9
299 changed files with 9551 additions and 4958 deletions
+53 -1
View File
@@ -1 +1,53 @@
// ok
#include "JSystem/JKernel/JKRFileLoader/JKRFileLoader.h"
#include "global.h"
asm JKRFileLoader::JKRFileLoader(void) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D40F0.s"
}
asm JKRFileLoader::~JKRFileLoader() {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D4148.s"
}
asm void JKRFileLoader::unmount(void) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D41D4.s"
}
asm void* JKRFileLoader::getGlbResource(char const *) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D4224.s"
}
asm void* JKRFileLoader::getGlbResource(char const *, JKRFileLoader *) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D4270.s"
}
asm bool JKRFileLoader::removeResource(void *, JKRFileLoader *) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D4308.s"
}
asm bool JKRFileLoader::detachResource(void *, JKRFileLoader *) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D43A0.s"
}
asm JKRFileLoader* JKRFileLoader::findVolume(char const **) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D4438.s"
}
#if 0
// JSystem\JKernel\JKRFileLoader\asm\func_802D44C4.s:18: illegal object reference in constant expression (lbl_804508C0)
// JSystem\JKernel\JKRFileLoader\asm\func_802D44C4.s:20: illegal object reference in constant expression (lbl_804508C0)
// JSystem\JKernel\JKRFileLoader\asm\func_802D44C4.s:57: illegal object reference in constant expression (lbl_804508C0)
asm void JKRFileLoader::fetchVolumeName(char *, long, char const *) {
nofralloc
#include "JSystem/JKernel/JKRFileLoader/asm/func_802D44C4.s"
}
#endif