Compare commits

..

8 Commits

Author SHA1 Message Date
90e191c4ca 0.6.4 2016-11-07 10:17:20 -08:00
efd310f0b4 added afterProgramPage to C++ declarations 2016-11-07 10:17:03 -08:00
0a5c2e4df9 0.6.3 2016-11-07 09:52:34 -08:00
1d6eaf0370 Bump pxt-core to 0.5.54 2016-11-07 09:52:30 -08:00
b4b789422e Add afterProgramPage() for filesystem support 2016-11-07 16:04:15 +00:00
cf982d7c52 removing upload step 2016-11-06 20:38:53 -08:00
2dafe5d253 0.6.2 2016-11-06 20:30:31 -08:00
63422bf696 Bump pxt-core to 0.5.53 2016-11-06 20:30:27 -08:00
4 changed files with 18 additions and 3 deletions

View File

@ -8,7 +8,6 @@ script:
- "(cd libs/lang-test0; node ../../node_modules/pxt-core/built/pxt.js test)"
- "(cd libs/lang-test1; node ../../node_modules/pxt-core/built/pxt.js test)"
- "node node_modules/pxt-core/built/pxt.js testdir tests"
- "node node_modules/pxt-core/built/pxt.js uploaddoc"
- "(cd libs/hello; node ../../node_modules/pxt-core/built/pxt.js testconv https://az851932.vo.msecnd.net/files/td-converter-tests-v1.json)"
sudo: false
notifications:

View File

@ -203,6 +203,19 @@ namespace pxt {
void *ptrOfLiteral(int offset);
//%
int getNumGlobals();
//%
uint32_t programSize() {
return bytecode[17] * 2;
}
//%
uint32_t afterProgramPage() {
uint32_t ptr = (uint32_t)&bytecode[0];
ptr += programSize();
ptr = (ptr + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1);
return ptr;
}
}
namespace pxtrt {

View File

@ -6,3 +6,6 @@ MicroBitPin *getPin(int id);
typedef ImageData* Image;
typedef BufferData* Buffer;
namespace pxt {
uint32_t afterProgramPage();
}

View File

@ -1,6 +1,6 @@
{
"name": "pxt-microbit",
"version": "0.6.1",
"version": "0.6.4",
"description": "micro:bit target for PXT",
"keywords": [
"JavaScript",
@ -30,7 +30,7 @@
"typescript": "^1.8.7"
},
"dependencies": {
"pxt-core": "0.5.51",
"pxt-core": "0.5.54",
"less": "^2.6.0",
"semantic-ui-less": "^2.2.4"
}