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.
Messages - ztrumpet
Pages: 1 ... 62 63 [64] 65 66 ... 385
946
« on: June 21, 2011, 02:04:47 pm »
Technically, you CAN run an Ion program from an Asm() denomination. However, I do not recommend it. MOS and DCS7 programs have a RET saving "net" that don't allow you to run Shell-dependent programs without the shell. Ion is ancient and lacks this; Ion programs that use built in routines and are run with Asm() might fail.
Right, but Axe doesn't call any Ion shell routines, so it's alright to run Ion programs from the homescreen.
947
« on: June 21, 2011, 01:05:16 pm »
Can Ion program be run without using a shell?
Yes.
948
« on: June 21, 2011, 01:02:59 pm »
I've had deja vu before, but never in a dream. Thus I voted both Yes and No.
949
« on: June 21, 2011, 12:58:48 pm »
New topic merged with "official" discussion topic.
950
« on: June 21, 2011, 12:47:11 pm »
It's actually possible in Axe too. Here's what you do: Make the first line of your code like this: period, program name, space, description You can also add an icon to your program with the Icon command.  Example of this program with a completely black image: .MYBASIC My BASIC Program Icon(FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) You will need a separate version for Mirage and DCS if you want the icon, but if you only care about the description you can compile it for Ion and run it from the homescreen or in any shell. That's why I always compile my programs for Ion.
951
« on: June 21, 2011, 12:26:33 pm »
Runer, your routine doesn't appear to work for me. Maybe I typed it in wrong, but I checked it after typing it in and don't appear to have.
953
« on: June 20, 2011, 10:08:07 pm »
I've made substantial progress today: I can load levels and display them. Though this may not sound like a lot, I've also laid the framework for the rest of the main engine. It's progressing well.
954
« on: June 20, 2011, 09:48:03 pm »
Here's a routine I made to clear a 6*6 square on both buffers. I believe it's fairly optimized and much more elegant than the equivalent Pt-On(r1,r2,[FCFCFCFCFCFC0000]) / Pt-Change(r1,r2,[FCFCFCFCFCFC0000]). With slight modification this could even be used for other sprite sizes like 5*5 and 12*12. Here it is: :Lbl CLR :.Clear a 6*6 spot on both buffers :.r1 is the X coordinate and r2 is the Y coordinate :r1^8 :Asm(450421FF07B7CB1CCB1D10FA)→r3 :... : ld b, l : ld hl, 0000011111111111b : or a :loop: : rr h : rr l : djnz loop :... :r1/8+(r2*12)→r5 :For(r4,0,5) :{r4*12+r5→r6+L6}rr∙r3→{r6+L6}rr :{r6+L3}rr∙r3→{r6+L3}rr :End :Return
What not to do with my routine: It doesn't clip, so don't pass it any arguments that will make it go off the bottom of the screen. This includes even the very bottom corner, as it'll still overwrite one byte.  However, it's quicker not to clip so that's why I wrote it this way. Enjoy!  P.S. Thanks to Eeems and Runer for helping with small clarifications throughout my coding.
955
« on: June 20, 2011, 06:31:21 pm »
Wow, that's awesome! Wonderful job, tloz. Wow.
956
« on: June 20, 2011, 04:35:48 pm »
That's pretty neat! Nice job on it.  It looks like it works very well.
957
« on: June 20, 2011, 01:17:43 pm »
Note that the above two posts have been edited slightly. Please keep this content off of Omnimaga either in the forums or in PMs. Thank you.
958
« on: June 20, 2011, 09:15:40 am »
Congrats, Hot Dog! I was hoping it would be featured.
959
« on: June 20, 2011, 09:04:12 am »
Congrats, Netham and juju! Welcome to the team.
960
« on: June 20, 2011, 08:58:18 am »
I forgot about the mirage ON + Apps. That's an easy one, so I'll make sure I do that.
But the ON + Alpha is a lot harder. I don't currently use a GetCSC hook, so I don't really have any way to detect that this has happened because pressing ON does nothing, and pressing Alpha doesn't register as a keypress because it's just a modifier. I'll see if I can find some weird way to detect it because I don't really want to make a getCSC hook as the first thing mirage does when you start it is kill the GetCSC hook.
Hmm, interesting. I guess you could always do it like DCS7 if you just wanted to add it to zStart and not call it a Mirage hook: Kerm made it into hold [On] and then tap [Stat]. I also have another feature request that I forgot about before: Can you make it so when a letter is pressed in the Memory Management/Delete menu that you jump to the first program/app/list/appvar with that letter like in the Prgm/Apps/Stat menu? I think this would be incredibly helpful for deleting or seeing the size of items that start with a letter far down the alphabet. Note that if you're in the "All" menu there that nothing should be done, as it includes every type of file and is not suitable for jumping around letter by letter.
Pages: 1 ... 62 63 [64] 65 66 ... 385
|