Show Posts

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 - chickendude

Pages: 1 ... 31 32 [33] 34 35 ... 55
481
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 10, 2013, 03:39:52 am »
Yeah, the ticalc version definitely contains two zStart83's.

Also, i'm getting a RAM clear whenever i try to enable >C000 execution on zStart83. It only happens when i exit that menu, but i can't seem to enable >C000 execution. I'm using an 83+ OS 1.19, i tried zStart v.1.3.010 and 1.3.009.

482
TI-Nspire / Re: Anagramarama
« on: March 08, 2013, 10:23:36 am »
So i just loaded it up and it's pretty cool, the one thing it seems to be missing (apart from the longer words) is a clock! Oh, and thanks for the extra two language packs :)

483
News / Re: Blockmaster for the HP 50g
« on: March 08, 2013, 09:55:10 am »
I don't know about the 39gII, but that hpcalc.org site lists it under "HP 49/50". The manuals (and the Google Code site) only mention the 50g. I don't know anything about the HP calcs, though, so i can't say.

I can help translate the documentation to English, but there really is a TON of stuff. Seriously, one of the pdf files is over a hundred pages long (though that includes a massive appendix with lots of charts and definitions)!

484
TI-Nspire / Re: Anagramarama
« on: March 08, 2013, 06:06:19 am »
Very cool! I love these types of games.

And due to the screen size you won't be able to see a lot of the words entered (the longer ones), right? Also, would changing wordlist.txt let us potentially make wordlists for other languages (ignoring diacritic marks)? Or is there more to it than that?

485
News / Re: Blockmaster for the HP 50g
« on: March 08, 2013, 04:22:33 am »
Here's a translation of the introduction to the Block Master Builder:
Quote
First thoughts:
This tool lets you make games for the BME (v4.0) easily and quickly. You make your games by selecting components from a list and indicating how you want them to function

When you start using the Builder, the best thing you can do is try to get to know and experiment with the different types of components before thinking of tackling a full project. This manual will explain how components work and how to create them.

The next step is the creation of a Zone (ZxPack), which contains a group of components with an objective and either an exit or some other
way to win.

In order to create a Zone, we recommend that you start by making a small map containing the components the zone will have and some notes on how you want them to operate, as well as the objectives and how to win the game.

Using the Builder requires a certain precision, seeing as once created components cannot be removed from a Zone, though there are many characteristics which can be modified.

We call the person creating a Zone its "Master", who will have their own style and develop their own building techniques.

The Master can use standard graphics built into the Builder or create their own. On top of that, they can create and incorporate background graphics and animations to give a little style and make the game more appealing.

It's possible to organize a Zone's components into Groups, which lets you modify the state of several components at once (options in key G). This is important because some components such as the MBs {me: Mobile Blocks} and CEs {me again: Complementary Events} consume a lot of the CPUs power and it's better to only have the components presently being used activated and activate others as needed.

* I recommend also studying the Manual of Notes (BMA), which discusses more advanced themes. You can download it from the BM website. I've published the source code and some games which can serve as models as well.
There's loads of documentation and it's all really well organized. If anyone is curious about some part of the documentation just ask.

486
ASM / Re: [z80] Needs help debugging a triangle filling routine
« on: March 08, 2013, 03:25:45 am »
A couple problems, your variables dX1/2 don't handle negative values. You sort according to Y values, which doesn't mean that the Xs will also be smallest to largest. Also, i don't know how Axe's horizontal line routine would handle it, but if say x1 > x2, it might encounter problems expecting to draw from left to right and not the other way around.

You said you found a better algorithm, but looking at if statements and for loops gives me a headache, so i'm not even going to try understanding it. If you make an assembly version of it i'd be more than happy to look through it, though :D

487
ASM / Re: [z80] Needs help debugging a triangle filling routine
« on: March 08, 2013, 01:56:40 am »
What are sub_88div and sub_HLline?

488
News / Re: Release of TilEm2
« on: March 08, 2013, 01:42:36 am »
Yeah, multiple keypresses work just fine, the only issue seems to be when using shift/control to define special keys. It also seems like keys get queued until the calculator reads them, at least on the homescreen i can type faster than the calculator can handle and it will continue a few seconds afterwards processing the last keypresses. There's also a keymap you can use from the debugger which lets you pick which key groups are being read from/which keys are being pressed.

489
TI Z80 / Re: Jade
« on: March 05, 2013, 06:27:44 pm »
Please let us know when the next version is ready to test out :D

490
News / Re: Release of TilEm2
« on: March 04, 2013, 03:50:54 am »
I think the actual breakpoints would be better stored in each individual ROM/save state, but breakpoint options could definitely be global. I don't see any issue with just storing everything in with the individual savestate, though.

About the keys, i've edited the keybindings.ini file to use Shift (Shift_L) as 2nd, Ctrl (Control_L) as Alpha, and a few other changes to make it closer to the key format of PindurTI as that's what i got used to and any other configuration feels awkward for me (or i'm too lazy to change). It's not a big deal, just that at first i thought it was a problem with my code. I've been trying to get a way for Shift+Right to be treated as 2nd+Right, both being held down, the same way as any two other keys being held down at once.

491
News / Re: Release of TilEm2
« on: March 04, 2013, 02:20:36 am »
Quote
-Skipping an instruction. Move the PC to the next instruction (useful for jr $ breakpoints)
-Related to the previous, a debugger option to treat jr $ as a breakpoint (ie bring up the debugger when a jr $ instruction is executed)
This would be difficult with the current implementation of breakpoints.  On the other hand you can easily set (say) "ld b,b" as a breakpoint by setting breakpoint type to "Z80 instruction" and value to 40h.  Or you can break on invalid instructions (such as ED00 - but note that that will crash the Nspire.)
That's a great idea and something i'd never thought of before. Thanks! Along those lines it'd be nice to be able to save breakpoints in between sessions or maybe have a tic mark next to them to show that you want TilEm2 to remember that breakpoint next time you start it up. As it is, i often set the same breakpoints each time i'm debugging, especially ranges where i know my program SHOULDN'T be executing code (>$C000 and around <$8500) or for things like setting ld b,b as a breakpoint. It might also be useful to have an option to enable/disable breakpoints altogether (that is, disabling them without removing/clearing them).

Quote
-Maybe the debugger could pop up when your code jumps out of the executable code range?
And I actually did some preliminary work toward making this possible but haven't added it to the debugger yet.  It'll probably be an option similar to invalid/undocumented instructions - I don't think it should be the default behavior, because I think the debugger can be scary for non-assembly programmers, so it shouldn't ever appear unless it's called for (even if the calculator crashes completely.)
I agree, i think it'd be better to have it turned off by default.

Quote
-Conditional breakpoints: stop execution only when a certain flag is set/reset or a register(/register pair) = a certain value.
I'd like to make this possible.  I was actually thinking of something even more general: adding a complete scripting language, that could be used both for advanced breakpoint conditions, and for scripted actions (which would be great for automated program test suites, as well as many other applications.)  I was thinking about Lua, but other suggestions would be welcome.  Of course this would be a significant project in itself.
I can't quite grasp what a scripted language for breakpoints might be like, but it sounds really interesting. I've spent countless hours going through loops trying to figure out where a register is getting messed up or where some wild address is getting pushed onto the stack, so this is something i've often wished for. :)

I've also wondered about tools for beta testers, things like maybe taking a snapshot of the current system memory to zip up and send to the programmer(s) to try and narrow down what exactly's going on. I can't say if it'd be exactly useful, what you could do to provide information back to the programmer(s), or even if something like that would potentially bring about legal problems. I dunno.

And another kinda out there idea i had while trying to find where a program was crashing was also storing the address where an item on the stack was pushed and maybe having a sort of stack history showing recent values pushed/popped off the stack. Again, sometimes it seems like a feature would be really handy to have and then a week or so later i can't think why i'd ever need something like that.

On a slightly unrelated note, i don't know if you've ever had issues with the keys? Especially when using the Shift key if i want to press another key i have to let go of shift first. If i'm already holding down right and press shift, there's no issue, but if i press shift then try to go right it won't register the second keypress.

492
TI Z80 / Re: Jade
« on: March 04, 2013, 01:32:49 am »
I really like the idea of the conditional codes. It's something i really like about ARM assembly, pretty much any instruction can take conditions. So you can do things like addc r1,r2 or even cmpz r1,r2. You can actually also add shifts, so you can do addc r1,r2,r3 LSL 4, which adds r2 + [r3 shifted to the left 4 bits] and stores the result in r1, but only if the carry flag is set (that's one instruction!) :P

Right now, what does sMask do? I assumed that a sprite wouldn't be processed unless you turned on that sprite's corresponding sMask bit. If i set the sprite delay to 1 and only have one sprite set in the sMask, it'll still process the other 7 sprites before coming back to the one i've enabled?

Also, a double-buffer might work really well here since with 8 sprites not a lot of the screen should be changing at once:
http://wikiti.brandonw.net/index.php?title=Z80_Routines:Graphic:Fastcopy#Double-buffered_copy

I think your other ideas are also good, in particular updating the LCD after each sprite is drawn will probably cause quite a bit of a slowdown. Waiting until all sprites have been drawn before updating is probably a good idea. I was also wondering if bit-instructions were going to be added :D

493
TI Z80 / Re: Houston Tracker - 1-bit music editor
« on: March 04, 2013, 01:02:53 am »
You'll need to build it from the source at the SVN (svn co https://tilem.svn.sourceforge.net/svnroot/tilem tilem) with SDL installed. Then you can find an option to turn on sound in the Link menu :)

As for the keypresses, one thing you can do albeit a bit more complicated is after pressing a key have a timer that counts up until you release it. Once you reach a certain value you can start another timer which will let you scroll more quickly. So when you press the key there will be a short delay before the next repetition kicks in after which it'll scroll more quickly (like the TI OS menus/cursor). Or if you repeatedly press a key it'll scroll quickly, too. And another option for the note names might be to just place an octave number first then the note name, ie 1C# would be the lowest note and 4G# would be the highest. Maybe an apostrophe or something next to the note could indicate a sharp sign.

Anyway, it's a really cool program and especially if we can get it ported to some more popular calculators i think a lot of people could really have fun with it.

494
TI Z80 / Re: Jade
« on: March 03, 2013, 09:43:21 am »
I've been having a bit of trouble getting other keys to work correctly, maybe i'm not quite doing something right or maybe i'm missing something. Anyway, i've got this code (which when thinking of how it might translate into assembly makes me shiver :P):
Spoiler For move a sprite:
Code: [Select]
#include "jade.inc"
.org $00
jrf(start)
sprite:
.db %00111100
.db %01100110
.db %11000011
.db %11100111
.db $FF
.db $FF
.db $FF
.db $FF
start:
ldirc(keyMask,3)
.db 3,1,1
ldirc(sprite0,5)
.dw $100+sprite \ .db 0,0,2
loop:
cpc(key0,kDown)
jrfz(goDown)
cpc(key0,kUp)
jrfz(goUp)
cpc(key0,kLeft)
jrfz(goLeft)
cpc(key0,kRight)
jrfz(goRight)
cpc(key1,kClear)
jrfz(quit)
jrb(loop)
goDown:
addc(sY0,1)
jrb(loop)
goUp:
subc(sY0,1)
jrb(loop)
goLeft:
subc(sX0,1)
jrb(loop)
goRight:
addc(sX0,1)
jrb(loop)
quit:
ldc(status,$80)
I assumed you're using direct input values and made these defines:
Code: [Select]
;##_key 0_##
key0 = 29h
kDown = $FE
kLeft = $FD
kRight = $FB
kUp = $F7
The sprite doesn't really seem to move, however. Sometimes it will jump to the middle of the top row, but never moves up or down. I've also gotten a couple crashes so far, some from mistyping the hex ;) Can you think of an easier way to transfer programs apart from typing them by hand? I tried prefixing the quote with the " token and ending it with ->Str0, but when running the basic interpreter complains about some of the compiled tokens and it won't store the entire string into Str0. Another idea might be a little [On]+[Clear] interrupt to forceably quit a program.

The ion include file i downloaded from ticalc has this:
Code: [Select]
;saferam1 =86ECh
saferam1 =9872h
but then i double checked one of my own projects and saw this:
Code: [Select]
;saferam1 =$86EC ;saveSScreen=768
;saferam2 =$8A3A ;statVars=531
;saferam3 =$8508 ;textShadow=128
;saferam4 =$8478 ;OPs=66
;saferam5 =$84D3 ;iMathPtrs=10
;saferamp =$9872 ;appBackUpScreen=768
;saferamp2 =$8251 ;bootTemp=52
;gbuf =$9340 ;768
;graphVariables =$8E67 ;1179 : 494+126(financeVars)+108(smallEditRAM)+157(plus de graphs)+294(tableStuff)
so... $86EC it is ;)

495
TI Z80 / Re: Houston Tracker - 1-bit music editor
« on: March 03, 2013, 02:13:36 am »
So i just tried this out with the new TilEm2 and it's super cool. The only thing is that the keys don't seem that responsive. I had fun just putting in random numbers and listening to what came out :)

Pages: 1 ... 31 32 [33] 34 35 ... 55