1246
ASM / Re: [z80] Writing to flash
« on: March 23, 2013, 06:11:12 pm »
It's even something hard to me to reset a bit of the archive, don't ask me to overwrite a byte
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 1246
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 06:11:12 pm »
It's even something hard to me to reset a bit of the archive, don't ask me to overwrite a byte
1247
TI Z80 / Re: [z80] cmdOS, a 3rd-party OS written from scratch« on: March 23, 2013, 04:47:19 pm »
No, don't misunderstand programs and inline commands. Programs are actual ASM programs, written and compiled on a PC, sent to the calc and then executed in the command line as functions.
For example, if mario happens to be written for cmdOS, you'd do >> mario in the command line to run it. 1248
TI-Nspire / Re: [C] F-Zero : trackSpire« on: March 23, 2013, 04:41:38 pm »
In fact, I have a giant bitmap, a set of 256 16*16 tiles which happens to correspond to the bitmap, but not the tilemap itself
To clarify things, I have the tileset, the final image composed by the tiles of the tileset, but not the order the tiles have to be put in to generate the image (and this is what I want, since the engine uses that). 1249
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 04:35:04 pm »
I can't afford to copy the content of a whole sector to RAM, because let's say that the calc is running a 32K-large program (all of the available RAM of a 83+ BE), I can't copy 16K of datas without overwriting some parts of this program. I need everything to be done in archive.
That's why I'll keep everything related to a program bundled, including its content, which won't change since there are no ways to edit stuffs. As I said in the cmdOS thread, every feature to include will be up to 3rd-party programmers, which are way better than me anyway. 1250
TI-Nspire / Re: [C] F-Zero : trackSpire« on: March 23, 2013, 04:20:58 pm »
It's such a coincidence, I started working on it again today I'm in the process of modifying the code to use with t0xic_kitt3n and hoffa' engine.
I've also discovered the worst part of programming : converting a giant 6800*3600 bitmap to a 1024*512 tilemap manually 1251
TI-Nspire / Re: z80 emulator for Nspire« on: March 23, 2013, 11:59:18 am »
DJ_O not this one, it's a program, and the one bundled in the emulator was an app with actuals course and opponent
1252
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 10:24:54 am »
Yeah I just edited
But the danger is that a data which was in flash actually had a $FF byte inside. And I can't put a size word since I can't easily write what I want. EDIT : By the way, how do you read from flash ? The page only says how to write to it ... 1253
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 10:18:40 am »
Oh I see. So instead of rearchiving it to the same place and then erase the entire sector, it archives it in a free sector. Then when there are no free sectors left, it Garbage Collect and then erase sectors with no variables inside.
But how do I know if a sector is OK to be erased or if there's something inside since you can't turn bits ON when they're OFF ? EDIT : maybe I can turn to $FE the first byte of a sector when it's in use, and then turn it to 0 when it's ready to be erased ? 1254
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 10:11:37 am »
But then if I want to write a single 1 bit to a sector I need to erase it first !?
1255
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 10:04:53 am »
Erasing a sector is what the TI-OS does when Defragmenting after an app deletion right ?
1256
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 09:47:12 am »
I'll go with the page Xeda112358 gave me, and then I'll see if I can do something with it
By the way, Hayleia said that writing a byte to flash wasn't a good practice, but the said page gives an entire writeFlashByte routine .. what are your thoughts on that ? 1257
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 09:32:39 am »
How could I have missed that, I read every page of Ti-83+:OS on WikiTi (well, I thought)
Thanks a lot, that'll help me 1258
ASM / Re: [z80] Writing to flash« on: March 23, 2013, 09:18:23 am »
Well, if you can only erase sectors, how can you save datas into them ?
And btw I won't be able to understand a code which does something I don't know anything about. 1259
ASM / [z80] Writing to flash« on: March 23, 2013, 06:56:50 am »
Hi guys,
I'm working on a file system for cmdOS, and I want every files to be in archive to allow user programs to use a maximal amount of free RAM. I planned to handle it this way :
How can I, say, write a byte to a flash page ? Note that I don't have any built-in routine for that. I'm NOT using the TI-OS nor any library, and I don't want to. I just want to understand how to do that and then being able to implement it. 1260
TI Z80 / Re: [z80] cmdOS, a 3rd-party OS written from scratch« on: March 23, 2013, 05:19:15 am »
I made a GitHub repository, for those who wants to test the OS or to see the source code : https://github.com/matrefeytontias/cmdOS
|
|