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.


Topics - Munchor

Pages: 1 ... 8 9 [10] 11 12 ... 20
136
Miscellaneous / Tutoring
« on: April 15, 2011, 07:40:31 am »
Does any of you have tutoring or ever had? What do you think of it?

I think that tutoring is good, but not regular tutoring, only for the wicked exams. I know a lot of people who have tutoring and think that tutoring replaces studying, I extremely disagree though.

Discuss.

137
Miscellaneous / Calculator Programming Folder Organization
« on: April 14, 2011, 03:47:15 pm »
I was just wondering how you organize your(s) calculator-programming-related folder(s) in your computer.

I have a big Texas folder with all inside, I decided to tree it for you:

Code: [Select]
Texas>tree
├───ASM in 28 DAYS
│   ├───img
│   ├───lesson
│   ├───ref
│   └───stuff
├───Assembly
├───Axe
│   ├───Developers
│   ├───Examples
│   └───Tools
│       ├───Application Signing
│       └───Sprite Editor
├───Axe GUI Library
├───BatLib
│   ├───Developement
│   ├───Example
│   │   ├───Block Eater
│   │   ├───Bouncy Pong
│   │   ├───Font&Sprite Editor
│   │   ├───FontWalk 3
│   │   └───ReCode examples
│   └───ZINSTALL
├───dcs_sdk
│   ├───asm
│   │   ├───exec
│   │   ├───list
│   │   ├───source
│   │   └───tasm
│   └───basic
├───TI-83+ ASM For The Absolute Beginner
│   ├───Appendices
│   ├───Appendix B Files
│   ├───Appendix D Files
│   ├───Lessons
│   ├───Linux Files
│   ├───Mac Files
│   └───Windows Files
├───Tokens (4)
└───WabbitEmu

What about you?

138
Other / Fixing a String
« on: April 14, 2011, 03:36:32 pm »
Code: [Select]
var bCallsCode = ['EF0E41', 'EF5A40', 'EFDE40', 'EFF040', 'EFD240', 'EF2D46', 'EF0946', 'EF0646', 'EF7648', 'EFA543', 'EFA843', 'EF0241', 'EF524B', 'EF934C', 'EF784C', 'EF754C', 'EF4B40', 'EFD84F', 'EFE440', 'EFED40', 'EFDB40', 'EFE140', 'EFE740', 'EFD840', 'EFEA40', 'EFD540', 'EF6346', 'EFA84F', 'EF7450', 'EF7150', 'EF974E', 'EF884E', 'EF694C', 'EF944E', 'EFBB4E', 'EFA94E', 'EFC14E', 'EFF049', 'EFB350', 'EFF142', 'EFC44E', 'EFD447', 'EF3442', 'EF3742', 'EF2542', 'EFFC40', 'EF2842', 'EF5842', 'EFFF40', 'EF2B42', 'EF5542', 'EFDF42', 'EF3142', 'EF7042', 'EF504A', 'EF5C4D', 'EFED4C', 'EF9847', 'EF9B47', 'EFA04E', 'EFA34E', 'EFD348', 'EF6E47', 'EF6C49', 'EF354A', 'EF384A', 'EF4345', 'EF4045', 'EFD141', 'EF5E42', 'EF5B42', 'EF4945', 'EF4645', 'EF4C45', 'EFB84E', 'EF4A4A', 'EF8E4E', 'EFB54E', 'EF434B', 'EF464B', 'EF234A', 'EF564A', 'EFEF4A', 'EF0541', 'EFC040', 'EFCC40', 'EF0C40', 'EFC84D', 'EFF547', 'EF1141', 'EF0841', 'EF5C44', 'EF6B44', 'EF7744', 'EF8944', 'EF8344', 'EF7D44', 'EF8044', 'EF4A44', 'EF5944', 'EF6244', 'EF7444', 'EF8644', 'EF4444', 'EF5344', 'EF6544', 'EF4144', 'EF5644', 'EF7144', 'EF6844', 'EF4744', 'EF2944', 'EF3244', 'EFF343', 'EFD843', 'EF3B44', 'EF0844', 'EF0E44', 'EFDE43', 'EFE443', 'EFEA43', 'EFED43', 'EFF643', 'EF2344', 'EF2F44', 'EF3844', 'EF0244', 'EFF943', 'EFDB43', 'EFE143', 'EFE743', 'EFF043', 'EF2044', 'EF2C44', 'EF1144', 'EF1D44', 'EF1A44', 'EF1444', 'EFFF43', 'EFFC43', 'EF1744', 'EF5F44', 'EF6E44', 'EF7A44', 'EF4D44', 'EF5044', 'EF2A43', 'EF6A4E', 'EF1B43', 'EF0C43', 'EF3043', 'EF0D4B', 'EF3343', 'EF3943', 'EF6D4E', 'EF0F43', 'EF1543', 'EF2143', 'EF2743', 'EF914E', 'EF9D4E', 'EF8B4E', 'EF854E', 'EFA64E', 'EFBE4E', 'EF7B40', 'EFBE45', 'EFC445', 'EFAC4E', 'EFB24E', 'EFDD47', 'EFF247', 'EF6C43', 'EF6943', 'EF9F43', 'EFA243', 'EF6742', 'EF2F4A', 'EF5743', 'EF204A', 'EF5143', 'EFC64F', 'EFC94F', 'EF844C', 'EF454F', 'EFB545', 'EFA645', 'EF0745', 'EF9B4D', 'EF6550', 'EFF74B', 'EF0F40', 'EF1240', 'EF664C', 'EFC148', 'EF7D4D', 'EF8C4D', 'EF7540', 'EF324A', 'EF874C', 'EFFD42', 'EF7942', 'EFC442', 'EF5245', 'EF864D', 'EFAD44', 'EFCB44', 'EFBF44', 'EFD342', 'EFD042', 'EFCA42', 'EFC742', 'EFCD42', 'EFAA44', 'EFB344', 'EFB044', 'EF9844', 'EF9E44', 'EFA144', 'EFBC44', 'EFC844', 'EFD444', 'EFB944', 'EFA444', 'EF8C4A', 'EF8C44', 'EF9544', 'EFC544', 'EF9B44', 'EFC244', 'EFD144', 'EFA744', 'EFCE44', 'EFB644', 'EFB440', 'EFD543', 'EF2242', 'EF4F42', 'EF854B', 'EF624D', 'EF894D', 'EFF24A', 'EF474A', 'EF444A', 'EF4E4C', 'EF4B4C', 'EF9B50', 'EF484C', 'EFF442', 'EF7E46', 'EF3B4A', 'EF1750', 'EF8F50', 'EFAA50', 'EF9649', 'EF9049', 'EF9949', 'EF7B46', 'EF7240', 'EF9940', 'EF8440', 'EF9640', 'EF8140', 'EF6F40', 'EF9340', 'EF9445', 'EF6F4C', 'EF1840', 'EF7249', 'EF3646', 'EF1546', 'EFDD50', 'EF9145', 'EFD04B', 'EF6A48', 'EFD747', 'EFF940', 'EFA648', 'EF7642', 'EF604C', 'EF984D', 'EFE047', 'EF294A', 'EF2C4A', 'EFF742', 'EFA540', 'EF5D40', 'EFC748', 'EF5F4D', 'EF8D40', 'EF8A40', 'EF9040', 'EF6340', 'EF634C', 'EFE347', 'EFA342', 'EF2D49', 'EFD744', 'EF0040', 'EF2740', 'EF0550', 'EF0250', 'EFCA45', 'EF5140', 'EF7849', 'EF0940', 'EFAC48', 'EFAB40', 'EF8347', 'EF1D50', 'EF1A50', 'EFB14C', 'EFAE40', 'EF5740', 'EFE542', 'EF304C', 'EF334C', 'EF5440', 'EF6C40', 'EF5C41', 'EFDA47', 'EF6841', 'EF6541', 'EF5F41', 'EF7D41', 'EF0B41', 'EF7A41', 'EF8041', 'EF8341', 'EF2E45', 'EFE050', 'EFA34B', 'EF1F42', 'EF1942', 'EF1C42', 'EF0D42', 'EF1042', 'EF5242', 'EFBF41', 'EF9B41', 'EFA741', 'EFA141', 'EF9E41', 'EF2F41', 'EF2341', 'EF1741', 'EF5341', 'EF5041', 'EF1342', 'EF1642', 'EF0742', 'EFBC41', 'EFAD41', 'EFAA41', 'EF9841', 'EF9541', 'EF8F41', 'EFB04A', 'EF8C41', 'EF9241', 'EF5641', 'EF6E41', 'EF1A41', 'EF4A41', 'EF4D41', 'EFB941', 'EF8941', 'EFA441', 'EF3E41', 'EF2041', 'EF1441', 'EF4741', 'EFB641', 'EF8641', 'EF3841', 'EF1D41', 'EF7141', 'EF4441', 'EF7741', 'EF0A42', 'EFB341', 'EF3B41', 'EF2641', 'EF7441', 'EF2C41', 'EF2941', 'EF3541', 'EF3241', 'EF4141', 'EFB24B', 'EF2350', 'EF9B4A', 'EFA348', 'EFB548', 'EF6940', 'EFB248', 'EF394C', 'EF6F43', 'EF7E43', 'EF7B43', 'EF7843', 'EF9343', 'EF9043', 'EF8D43', 'EF8A43', 'EF8743', 'EF8443', 'EF8143', 'EF2E42', 'EFF340', 'EFCF43', 'EFC643', 'EFC943', 'EFC343', 'EFC043', 'EFBD43', 'EFBA43', 'EFB743', 'EFB443', 'EFB143', 'EFAE43', 'EFAB43', 'EF3c40', 'EF0445', 'EF0145', 'EF1045', 'EF0d45', 'EF0A45', 'EF6049', 'EF4546', 'EF1E46', 'EF7F4B', 'EF794B', 'EFDC42', 'EFD74A', 'EFD147', 'EFDD4A', 'EFE64A', 'EFE34A', 'EFE04A', 'EFDA4A', 'EFFA4E', 'EFFD4E', 'EF034F', 'EF264A', 'EF8E48', 'EF7147', 'EF364C', 'EF7048', 'EF7F42', 'EF9F40', 'EFA240', 'EFA840', 'EF7840', 'EFF640', 'EF7045', 'EF6D45', 'EF7B4C', 'EFE54E', 'EF144A', 'EFCC4F', 'EFBF50', 'EF4048', 'EFFC49', 'EF4948', 'EF4648', 'EF4348', 'EF004C', 'EF2050', 'EF8C47', 'EF8F47', 'EF9247', 'EF8647', 'EFD441', 'EFBD40', 'EFBA40', 'EFCF40', 'EFC640', 'EF9C40', 'EF124F', 'EF0F4F', 'EFB44C', 'EFE94A', 'EFBF4A', 'EFCE47', 'EFCB4A', 'EFD44A', 'EFC54A', 'EF7C4B', 'EFBC4A', 'EFCE4A', 'EFC24A', 'EFD14A', 'EFC84A', 'EFE344', 'EF3F4C', 'EFC340', 'EFC940', 'EFBB48', 'EFB740', 'EF7C42', 'EF7546', 'EF6640', 'EF7E40', 'EF8E42', 'EF5746', 'EF6040', 'EFD450', 'EF9547', 'EFAF48', 'EF7246', 'EFA948', 'EF5E45', 'EF6145', 'EF6445', 'EFFB47', 'EF0448', 'EFFE47', 'EF8842', 'EF9E47', 'EF0148', 'EF8B42', 'EFA147', 'EFB041', 'EFCE41', 'EFC541', 'EFC841', 'EFCB41', 'EF4F48', 'EF5B48', 'EF4C48', 'EF5248', 'EF5E48', 'EFA447', 'EF6148', 'EF5548', 'EF6748']
I have this string and this is how it looks on Notepad++:



However, I'd like it to be all in the same line, but with side-scrolling, I don't want them fixed to avoid side-scrolling, I really want side-scrolling, all in one line.

Any idea of how to achieve that? Thanks.

139
Lua / Can you code in Lua?
« on: April 14, 2011, 04:10:47 am »
In response to the recent news that the NSpire OS 3.0 can be programmed using Lua, a new subforum was created aimed at Lua Language.

I'd like to know who of you know Lua, like me :) I learnt Lua a few months ago, but haven't coded a lot of programs, it was more just learning.

140
Miscellaneous / RemovedFromGame is down
« on: April 13, 2011, 04:23:04 am »
I don't know where else to post this, but I noticed my usebar, Freyday's and Zeda's weren't appearing, then I tried Removed From Game and it seems to be down.

A lot of GIF's and userbars on Omnimaga will probably be gone until {AP} can put them back up :(

141
Computer Programming / IOIs, Usaco
« on: April 12, 2011, 02:41:47 pm »
I'm participating in Informatic Olympiads and the winners get to go to Canada for IOIs. USACO winners also go to IOIs.

Is there a chance that if I win I can meet any of you?

142
ASM / Variables, Labels, Loops
« on: April 12, 2011, 06:34:30 am »
I have this code (in Mimas):

Code: [Select]
Start:
  db $ef,$40,$45
  ld b,100
  ld a,0
Loop:
  add a,myNum
  djnz Loop
  ld l,a
  db $21,$01,$00
  db $ef,$07,$45
  B_CALL (_GetKey)  ;ef4972
  ret
myNum:
  db 3

I'm trying to make a loop where I add 3 to a 100 times.

Will this ever work? I'm not sure if I can set variables like that or only by (myVar .equ 3).

Thanks.

143
Art / Removing Background from Image
« on: April 11, 2011, 04:40:25 pm »
I have a request guys, attached is an image I'd like the white part to be removed so that it is nothing (transparent) and it has no background so it will go fine in any colour.

Thanks, if you could also tell me how to do that :D

I tried a rubber in Paint.NET but it's hard to control it, even with anti-aliasing enabled.

144
TI Z80 / Little Endian Code to .dw Code
« on: April 11, 2011, 10:36:55 am »
I just created a very simple tool that allows you to convert hexadecimal code like FDCB00AE to code like .dw $CBFD, $AE00.

It's a small python program that can either read files or read hexadecimal code by type input.

It converts the code and then creates a .txt file with named 'dwCode.txt' with the final code to be used in an Assembly code.


You need Python 2.x to run it. It's attached, hope you like it. For now, it can only open ASCII files (not 8xp) and the number of bytes has to be divisible by four, so '210100' won't work, but 'FDCB00AE' will. Sorry for this, I'll try to fix it.

Here's the source code:

Code: [Select]
def bibEndianToLittleEndian(hex):
"""Takes a big endian hex string and turns it to little endian"""
splitHex = [hex[x:x+4] for x in xrange(0,len(hex),4)]
for i in range(0,len(splitHex)):
splitHex[i] = splitHex[i][2]+splitHex[i][3]+splitHex[i][0]+splitHex[i][1]
return "".join(splitHex)

def littleEndianToDw(hex):
"""Takes a little endian string as an argument and turns it to .dw blocks"""
#.dw $CBFD,$AE00
finalString = ".dw"
splitHex = [hex[x:x+4] for x in xrange(0,len(hex),4)]
for i in range(0,len(splitHex)):
finalString+= " $"+splitHex[i]+","
return finalString[0:len(finalString)-1]

def main():
print "Choose:\n1. Type hexadecimal code\n2. Open from file"
option = input()
if option==1:
hexCode = raw_input("Type hexadecimal code: ")
g = open('dwCode.txt','w')
g.write(littleEndianToDw(bibEndianToLittleEndian(hexCode)))
g.close()

else:
fileName = raw_input("Enter name of ASCII file: ")
f = open(fileName,'r')
hexCode = f.read()
f.close()
g = open('dwCode.txt','w')
g.write(littleEndianToDw(bibEndianToLittleEndian(hexCode)))
g.close()

if __name__=='__main__':
main()

Enjoy :)

145
ASM / Variables and a/hl register
« on: April 10, 2011, 05:19:15 am »
I have this code:

Code: [Select]
;Program made by: David Gomes

.nolist
#include "ti83plus.inc"
.list
   .org userMem-2
   .db $BB,$6D
Init:


    b_call(_ClrLCDFull)
        myVar .equ 60
ld a,myVar
ld h,0
ld l,a
b_call(_DispHL)
b_call(_GetKey)
    b_call(_ClrLCDFull)
res 5,(iy+0)             ; Disables 'Done' message
    ld    hl, 0
    ld    (PenCol), hl
    ld    hl, msg
    b_call(_PutS)            ; Display the text
    b_call(_NewLine)
    ret

msg:
    .db "Hello world!", 0
.end
.end

When compiling I get this:

Code: [Select]
Pass one...
myfile.z80:11: warning: Suggest remove extra parentheses around argument
myfile.z80:12: error: Can't recognize 'myVar' as an instruction or macro
myfile.z80:16: warning: Suggest remove extra parentheses around argument
myfile.z80:17: warning: Suggest remove extra parentheses around argument
myfile.z80:18: warning: Suggest remove extra parentheses around argument
myfile.z80:23: warning: Suggest remove extra parentheses around argument
myfile.z80:24: warning: Suggest remove extra parentheses around argument
Pass two...
myfile.z80:13: error: 'myVar' isn't a macro or label
Done

It's supposed to display the number 60 and then after a keypress display "Hello World!". What am I doing wrong with myVar here?

146
Other Calculators / Axe GUI Library Discussion
« on: April 08, 2011, 01:49:45 pm »
Some of you might know already, I created an Axe GUI Library. I even made a topic here.

This project will be developed by me, Ashbad and whoever who wants to join.

However, we are considering a side-project since Kerm has proofed that using DCS GUI API together with Axioms would be a better option.

I was not convinced by his arguments, hence I plan on keeping an Axe-only library. However, we have considering having a mix or a side project, two libraries, one with Axioms and another with Axe code.

The reason why I'll keep the Axe one is because changing its code (of the GUI Library) would be easier for Axe programmers if that code was in Axe and not in Assembly, since not all Axe programmers know Assembly. In addition, the DCS GUI API would make it DoorsCS-only.

However, using the DCS GUI API would make programs faster, the library would be easier to code and DCS GUI is wonderful (IMO).

Let me know what you think. This is a discussion topic.

147
Math and Science / Funny sequence
« on: April 08, 2011, 12:21:06 pm »
Even if most of you have seen this sequence before, here it is, good luck deciphring it and getting the next element (it's infinite)

1
11
21
1211
111221
312211
12112221
1112213211

:D

148
BatLib / BatLib/ReCode Examples
« on: April 08, 2011, 11:47:31 am »
Most of what I know about programming, I learnt it by looking at sample codes and examples, so I thought that I could make some BatLib samples and explain them.

Here's my first code sample, draw a rectangle around the screen and wait for pressing [CLEAR] to close.

Code: [Select]
dim(1,40                 ; Disables Indicator (dim(1)) and Turns Basic ReCode on ((dim(40)). In BatLib, we can have multiple commands in a single dim(
Fill(0                   ; AxesOff, ClrDraw, basically, it cleans the screen in a Recode Block
While getKey≠15          ; waits till a [CLEAR] press
Line(0,96,0,64,6         ; Draws a rectangle, X=0, WIDTH=96,Y=0;HEIGHT=64;TYPE=6. Type 6 is borders only
DispGraph                ; Displays the graphscreen
End                      ; End of loop
Stop                     ; Disables ReCode and goes back to BASIC
AxesOn                   ; Turns Axes on

First of all, I need to clear that you should read the readme and recode readme first.

Then, this code is very simple and here's how it looks when ran:



Hope you enjoyed this example, more to come.

Attached is the 8xp file.

EDIT: fixed up spacing and added ≠ with Scout's approval

149
TI Z80 / Axe GUI Library
« on: April 06, 2011, 09:51:19 am »
 

I was just in the mood to create an Axe GUI library and I thought "Why not?".

So it's not really a library since I use subroutines to create frames, buttons and dialogs.

So that you can have an idea of how this works, take a look at the code to draw the ABOUT button you can see in the demo:

Code: [Select]
sub(DB,40,42,30,10
Text(46,44,"ABOUT

As simple as that!

Let's take a look at its event when pressed:

Code: [Select]
If getKey(54)
[80C0E0F0F8F0B818->O
If X>40 and (X<70 and (Y>42 and (Y<52
sub(DD,"ABOUT","PROGRAM MADE","BY DAVID","GOMES"
Repeat getKey
End
End
...
End


So you have just learnt the two Drawing subroutines, DD (draw dialog) and DB (draw button).

There is not a DF (draw frame) yet, I am tidying it up to make it all a subroutine, but when finished it'll work like this:

Code: [Select]
sub(DF,"TITLE",1,0
The 1 (which could be a 0) is for X button or no X button to close the frame.
The 0 (which could be a 1) is for allow [CLEAR] to exit or don't allow [CLEAR] to exit.

This is just a demo, but I hope the library can have some uses :D I'll be making a few more Drawing Routines for other kinds of buttons, listboxes, etc. Not sure of how to make a textbox though.

Probably they can be in separate files (the routines) instead of being in the same program as the main program.

What do you think?

150
Site Feedback and Questions / Posting in the right section
« on: April 05, 2011, 02:45:53 pm »
I was thinking the other day... There are many posts being moved by the managers/administrators lately, not too many, but still a few. I think this is due to some of us forgetting to post in the right section and double thinking about where we are posting before we post.

This is not just for new users, but for veterans too. Why? Because I've been around for a while and sometimes end up posting in the wrong sections since there are new forums now and I forget. However, I pay more attention now :D

This is just a reminder to everyone, check the new forums (Computer Programming Help and Computer Programming Projects, ...). Randomness is now called Humour and Jokes, so avoid posting anything non-randomness there, since Randomness is not Miscellaneous Discussion.

I'm not an administrator nor a moderator, but I just want to keep the managers from moving posts and help to making Omnimaga better.

Also, it's funny because I didn't know where to post this :P

Pages: 1 ... 8 9 [10] 11 12 ... 20