39 Archived Topics
Remove Filter Hello, I'm starting on Assembly and i want to know how i can clear the screen in Assembly, because of my OS. When i run it in Bochs, that boot messages are there and i want to clear they, for a better visual of my OS. Thanks, Nathan Paulino Campos | |
I was looking at a page called [URL="http://blog.sarathonline.com/2009/02/javascript-convert-strings-to-binary.html"]Javascript: Convert Strings to Binary (and representing in a nerdy way!)[/URL] where you can convert a [icode]String[/icode] into binary dots using Javascript and I loved that, but how I can do that? Since the code isn't for making that grid... | |
Hello, I'm building a program that gets the value of a [b]TextField[/b], concatenate with some other [b]Strings[/b] and then display them on a [b]TextBox[/b] when the [b]ScreenCommand[/b] is clicked, the problem is that it's calling a [b]NullPointerException[/b]. My code is like this(of course it has a lot more stuff): [code=java]/* … | |
I'm trying to adapt the opensource code from the page [url=http://tlrobinson.net/iphone/lighttable/]Drag and Drop in MobileSafari[/url], here is a snippet of the code I've changed from: [code] function jsonFlickrApi(data) { for (var i = 0; i < data.photos.photo.length; i++) { var p = data.photos.photo[i], img = document.createElement("img"); img.src = 'http://farm'+p.farm+'.static.flickr.com/'+p.server+'/'+p.id+'_'+p.secret+'_m.jpg'; img.className … | |
Hello, I'm learning C++ and trying to build my own file zipper, because i like very much to work with zip files, but now i want to build my own zipper and it's so hard to find good resources to start. As you can see in my previous posts i … | |
Hello, I'm learning C# and i want to know how i can add a item in a ListBox like this, the user click in a button, then it creates a item in the ListBox and in the ListBox the user digits what he want in that field, when the user … | |
Hello, I'm a brazilian, but my friend is chinese and he buyed a notebook here in Brazil(Don't have chinese support installed) and my Windows XP CD don't have all that files to install the language pack, then [b]how i can get the language pack?[/b] Thanks, Nathan Paulino Campos | |
Hello, I'm really starting in Assembly, but i want to know if it's possible to develop for ARM devices like those who run Windows CE, because i have an Jornada 720 and i want to develop to it, i'm already a Java developer, but Assembly will be another language that … | |
Hello, At this times i need to decide something that will chage my life forever, it is: Continue with C++ and the possibility to compile my programs at my HP Jornada 720(Handheld PC) and in my [b]PC only and NOT for my j720[/b], or learn C and start my mobile … | |
Hello, Because of my new and the most of the future projects, i'm needing to learn C and use Windows, but because of this, i don't know how to use the Windows API, then i'm asking for an example of using DeleteFile function. Thanks, Nathan Paulino Campos | |
Hello, I'm learning Assembly and i want to know the tools that the other persons use to develop, things like: Nasm, emu8086, WinHex... All the things that you use that are related with Assembly and what the do. Only for improve my tools and my learning. Thanks, Nathan Paulino Campos | |
Hello, I'm developing an simple OS, as you can see in my previous posts, but now i have a file that is too big for the boot sector(510 bytes), then i want to split it in two files, one that will be in the boot sector of the floppy and … | |
Hello, I'm trying to write my OS to an floppy disk, but when i try to boot up, Bochs says that i don't have any OS on that floppy, here is the command that i'm using to write: #1 Try: [code]C:\Assembly> DEBUG os.asm -w 100 0 0 1 -q[/code] #2 … | |
Hello, I'm learning Ruby, and i want to know how to compress files using Ruby. Thanks, Nathan Paulino Campos | |
Hello, I'm learning C++ and i was trying to use the [i]zlib[/i], but i'm getting some errors when trying to compile my little project. Here is the code: [code=cplusplus]#include <string> #include <stdexcept> #include <iostream> #include <iomanip> #include <sstream> #include <zlib.h> using namespace std; std::string compress_string(const std::string& str, int compressionlevel = … | |
Hello, I'm learning C++, then i want to know how i can do a convertion of an decimal number to an hexamal number, i know the calculation form to do this, but the thing that i don't know is how i can represent the remain in the formula. Here is … | |
Hello, I'm beginning in the OS development(In Assembly, Nasm as Assembler) and i need to implement a command-line on it, but i don't know how to do this, but what i want to say as command-line is like MS-DOS or UNIX: [CODE]> ver BerlOS v.0.0.1 > _[/CODE] But i don't … | |
Hello, I'm starting in Assembly development. Then recently i buy a book of Assembly, in it i have the table with the decimal numbers to hexamals and to binarys, like this: [code=asm]Dec - Hex 1 - 01 2 - 02 3 - 03 4 - 04 [...] 10 - A … | |
Hello, I'm learning Aseembly and i want to know how i can adaptate this line: [icode]times 510-($-$$) db 0[/icode] for run it in emu8086. Thanks, Nathan Paulino Campos | |
Hello, I want to write a *.bin(Assembly compiled file) to an floppy drive, but i don't know how to do this, remember that i have to write to the cylinder 0, head 0 and sector 1, because it's an boot program, only if needed here is the code: [code=asm]; directive … | |
Hello, I'm beginning in Assembly development. When i try to print a word using the variable type DB with the name message, but when i try to execute this program, emu8086 only show me a dialog, not the message, here is an screenshot: [url]http://xs142.xs.to/xs142/09345/imagem568.png[/url] [code=asm]#make_COM# ORG 100h ; COM file … | |
Hello, I'm learning Assembly. I'm using DEBUG as my Assembler, but now i want to convert a simple code to really Assembly(For emu8086), here is the code as i put in DEBUG: [code=asm]-E 0200 "0123456789" 24 -A 0100 0D0B:0100 MOV AH,09 0D0B:0102 MOV DX,0200 0D0B:0105 INT 21 0D0B:0107 INT 20[/code] … | |
Hello, I'm a Java developer and i have created a forum in InvisionFree, that uses a Invision Power Board, but i want to index my forum to Google, how i can do this, remember that my account is free, then i can't upload files for the root of my forum. … | |
Hello, I'm a Java developer, but only for curiosity i want to learn Assembly, someone can post some good resources to begin. Thanks, Nathan Paulino Campos | |
Hello, I'm learning Java ME, remember that i'm already a Java developer, but i want to create another form to show all the details of the contact, like that of the contact book of the cell phones, here is my code: [CODE=java]package contacts; import java.io.*; import java.util.Vector; import javax.microedition.midlet.MIDlet; import … | |
Hello, I'm learning Java ME, remember that i'm already a Java developer, but i was trying to do a simple contact book application, then when it was finished i run it in the WTK emulator, but when i try to add some record it only shows me the message that … | |
Hello, I'm learning Java ME and i was building an application that is a simple contact book, but in the main form it only have menus, because i don't know how i can list the registry's on it, remember that i want to list only the names in the list … | |
Hello, I'm learning Java ME and when i complete the development of an application that uses RecordStore, it's simple a contact book, but when i completed the code i see that my program have an error and i use Eclipse, then it marks wrong codes in the left of the … | |
Hello, I'm starting in Java ME development, but i'm already a Java for desktop developer, but how i can build Jar files for my Java ME applications using my Eclipse or command-line, i want to build it only. Thanks, Nathan Paulino Campos | |
Hello, I'm learning Java and i want to build a program that save emails to an [i]*.txt[/i] file, like this: One guy send me an email, then the program periodically search if i have emails every 10 minutes and if i have it saves all the emails in a single … | |
Hello, I'm starting in Java ME development, but when i finished the code, that i'm developing using Eclipse, it shows that my code have an error, with that red x in the left of the code line, here is the code: [code=java]package comm; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; import javax.microedition.lcdui.Display; import … | |
Hello, I'm trying to get a string from a thing that is inside quotes as you can see [URL="http://www.daniweb.com/forums/thread209962.html"]here[/URL], but when i try to compile i got this errors: [code]ubuntu@eeepc:~/C++/Tree$ g++ -o tree tree.cpp tree.cpp: In function ‘int main(int, char**)’: tree.cpp:65: error: ‘get’ was not declared in this scope tree.cpp:65: … | |
Hello, I'm learning C++ and all that i learn i try to put in a interpreter of a language that i'm developing, it's only to practice, but here is a thing that i don't learned already, that is how i can get a string that is inside quotes, because i … | |
Hello, I'm learning C++ and i want to know how i can build a program that play videos, don't take care of types, any type of video, not all, but one, remember that iwant to build a command-line app and i'm using Linux. Thanks, Nathan Paulino Campos | |
Hello, I'm learning C++ and i want to know how i can build a program written in C++ that can execute other programs, like firefox. Thanks, Nathan Paulino Canpos | |
Hello, I'm learning C++ and i want to build a simple program that copy files, remember that i want a program that copy all types of files, not only *.txt or only binary files. Thanks, Nathan Paulino Campos | |
Hello, I'm building a cp like program and here is the code of the file copy, i'm in the beginning, i'm going to put the error messages when i be in some good state of the program: [code]#include <iostream> #include <fstream> using namespace std; int main( int argc, char* argv[] … | |
Hello, I want to know how i can build a program that reads what is in a parenthesis and print it using cout, but remember that i have to use this inserted a if method. Here is a sample of syntax: [code]test (test of output)[/code] Remember that this syntax is … | |
Hello, I'm learning C++ and i want to know how i can develop a program that reads a file like a database, but the program don't know how many lines or columns the file have, and the file is like this: [CODE]"Name Test" "1901" "email@test.com" "John Google" "6673" "john@test.com"[/CODE] And … |
The End.