Create Scratchpad
This commit is contained in:
parent
c21b545166
commit
346c686280
|
@ -0,0 +1,7 @@
|
||||||
|
#ifndef __JABYENGINE_SCRATCHPAD_HPP__
|
||||||
|
#define __JABYENGINE_SCRATCHPAD_HPP__
|
||||||
|
#include "../jabyengine_defines.h"
|
||||||
|
|
||||||
|
static __always_inline auto& ScratchPad = reinterpret_cast<uint8_t(&)[1024]>(*reinterpret_cast<uint8_t*>(0x1F800000));
|
||||||
|
|
||||||
|
#endif //!__JABYENGINE_SCRATCHPAD_HPP__
|
|
@ -13,10 +13,4 @@
|
||||||
#else
|
#else
|
||||||
#define __constexpr
|
#define __constexpr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//uint<real bits>_<used bits>b;
|
|
||||||
typedef uint8_t uint8_5b;
|
|
||||||
typedef uint8_t uint8_4b;
|
|
||||||
typedef uint8_t uint8_2b;
|
|
||||||
|
|
||||||
#endif //!__JABYENGINE_DEFINES__H
|
#endif //!__JABYENGINE_DEFINES__H
|
Loading…
Reference in New Issue