Skip to content

Commit

Permalink
Bump version to 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemonaco committed May 24, 2024
1 parent 25226f1 commit be56d3a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

.~lock.Atlas.odt#

# User-specific files
*.suo
*.user
Expand Down
2 changes: 1 addition & 1 deletion AtlasMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int _tmain(int argc, _TCHAR* argv[])
Logger.SetLogStatus(false);
StartTime = clock();

printf("Atlas 1.11h by Klarth\n\n");
printf("Atlas 1.12 by Klarth\n\n");
if (argc != 3 && argc != 5)
{
printf("Usage: %s [switches] ROM.ext Script.txt\n", argv[0]);
Expand Down
25 changes: 0 additions & 25 deletions Pointer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,62 +113,37 @@ unsigned char Pointer::GetUpperByte(const unsigned int ScriptPos) const
return (GetAddress(ScriptPos) & 0xFF000000) >> 24;
}



// #WBB(param) - Working

unsigned char Pointer::GetBankByte(const unsigned int ScriptPos) const
{
return (GetAddress(ScriptPos) & 0xFF0000) >> 16;
}



// #WHB(param) - Working

unsigned char Pointer::GetHighByte(const unsigned int ScriptPos) const
{
return (GetAddress(ScriptPos) & 0xFF00) >> 8;
}



// #WLB(param) - Working

unsigned char Pointer::GetLowByte(const unsigned int ScriptPos) const
{
return GetAddress(ScriptPos) & 0xFF;
}



// #W16(param) - Working

unsigned short Pointer::Get16BitPointer(const unsigned int ScriptPos) const
{
return GetAddress(ScriptPos) & 0xFFFF;
}



// #W24(param) - Working

unsigned int Pointer::Get24BitPointer(const unsigned int ScriptPos) const
{
return GetAddress(ScriptPos) & 0xFFFFFF;
}



// #W32 - Working

unsigned int Pointer::Get32BitPointer(const unsigned int ScriptPos) const
{
return GetAddress(ScriptPos);
}

// #WHW (Write High Word) - Working

unsigned int Pointer::GetHighWord(const unsigned int ScriptPos) const
{
return ((GetAddress(ScriptPos) & 0xFFFF0000) >> 16);
Expand Down
Binary file added docs/Atlas.odt
Binary file not shown.
Binary file modified docs/Atlas.pdf
Binary file not shown.

0 comments on commit be56d3a

Please sign in to comment.