Go to advanced search

by antiloquax
Fri May 18, 2012 12:11 pm
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 19745

Re: Assembly Code

I haven't made very much progress as yet with Assembly Code, despite looking at a few websites. I thought I'd try getting some output from GCC and having a look at that. Here's the little C program I used: int main(int argc, char *argv[]) { int num1; int num2; int ans; num1 = 10; num2 = 20; ans = nu...
by antiloquax
Sun May 13, 2012 6:36 am
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 19745

Re: Assembly Code

Thanks again! I found those links and tips useful.
mark
by antiloquax
Sat May 12, 2012 8:09 pm
Forum: Beginners
Topic: Installation Guide for Arch Linux on the Raspberry Pi
Replies: 2
Views: 3148

Re: Installation Guide for Arch Linux on the Raspberry Pi

Good work. I am an Arch user - when I'm not using Puppy ;)
I'll check out your wiki.
mark
by antiloquax
Wed May 09, 2012 5:59 pm
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 19745

Re: Assembly Code

Thanks for the tips.

I'll investigate the C approach. Basically I just want to do something very simple to start with - just adding some numbers or "hello world"!

I'll post back with how I get on.

mark
by antiloquax
Wed May 09, 2012 3:39 pm
Forum: Other programming languages
Topic: Assembly Code
Replies: 60
Views: 19745

Re: Assembly Code

<t>I haven't done any assembly coding before, but I wanted to have a go.<br/> <br/> Can anyone offer some help or point me to some good information?<br/> <br/> I have found some online tutorials, but when I try to use "as" to assemble to code, I get errors.<br/> <br/> Also, I need a simple explanati...
by antiloquax
Wed May 09, 2012 10:48 am
Forum: General discussion
Topic: Why Pi?
Replies: 13
Views: 4068

Re: Why Pi?

Thanks for the feedback! I'll redraft accordingly.
by antiloquax
Tue May 08, 2012 6:05 pm
Forum: General discussion
Topic: Why Pi?
Replies: 13
Views: 4068

Re: Why Pi?

<t>This is what I have so far. Has anyone any improvements to suggest before I email it to the Principal?<br/> <br/> Why Pi?<br/> <br/> The Context<br/> The Raspberry Pi computer was created by a team at Cambridge University who were concerned about the drop in numbers of applicants to Computer Scie...
by antiloquax
Mon May 07, 2012 2:28 pm
Forum: Beginners
Topic: Arch setup - feel free to add any tips
Replies: 7
Views: 5149

Re: Arch setup - feel free to add any tips

@Joe: I'm not sure you have to do it this way - but I followed the instructions given on CNX because I'd failed trying it in a different way.
by antiloquax
Mon May 07, 2012 2:26 pm
Forum: General discussion
Topic: Why Pi?
Replies: 13
Views: 4068

Re: Why Pi?

Thanks for these replies. I'm going to have a go at writing something tonight.

mark
by antiloquax
Sun May 06, 2012 2:54 pm
Forum: Beginners
Topic: Arch setup - feel free to add any tips
Replies: 7
Views: 5149

Re: Arch setup - feel free to add any tips

I am using arm1176.
by antiloquax
Sun May 06, 2012 1:27 pm
Forum: General discussion
Topic: Why Pi?
Replies: 13
Views: 4068

Re: Why Pi?

<t>For my day job, I teach English in a UK Academy. The principal has asked me to write a short (1 side of A4) document, telling him why the Academy should care about the RPi. I think  he's considering kitting out a room with a suite of them. I am going to have a go at writing this over the next two...
by antiloquax
Sun May 06, 2012 5:06 am
Forum: Beginners
Topic: Arch setup - feel free to add any tips
Replies: 7
Views: 5149

Re: Arch setup - feel free to add any tips

<t>I followed the instructions from CNX software to build qemu:<br/> <br/> CNX page.<br/> <br/> I used this zImage.<br/> <br/> And I followed the CNX instructions for extracting the root file-system from the Arch release image.<br/> <br/> Extract root f-s.<br/> <br/> Let me know if that doesn't work...
by antiloquax
Sat May 05, 2012 9:47 pm
Forum: Beginners
Topic: Arch setup - feel free to add any tips
Replies: 7
Views: 5149

Re: Arch setup - feel free to add any tips

<t>Here's a few notes on how I set up my Arch desktop (running a virtual Pi on qemu). Please share any Arch tips!<br/> <br/> Arch Setup<br/> <br/> Login<br/> User: root<br/> P'wd: root<br/> <br/> Update system<br/> pacman -Syyu<br/> <br/> Install X<br/> <br/> pacman -S xorg-server xorg-xinit xorg-se...
by antiloquax
Sat May 05, 2012 9:11 pm
Forum: Beginners
Topic: First impressions - Slow, Scary & unfriendly
Replies: 212
Views: 48301

Re: First impressions - Slow, Scary & unfriendly

<t>I haven"t got my pi yet, but I have been using the Debian and Arch releases in qemu. Arch is a lot faster. I ran glxgears in both and the Debian only managed 9.5 fps, whereas Arch was over 16. I assume that the differences will be silmilar on the actual machine. Of course, Arch is a bit more diff...
by antiloquax
Sat May 05, 2012 9:01 pm
Forum: Beginners
Topic: Arch
Replies: 5
Views: 1971

Re: Arch

<t>I ran pacman -Syyu yesterday and got a lot of new things downloaded from the repos. Did I<br/> mention how much faster arch is than Debian? At the moment I am using xorg-twm to handle the desktop. It"s basic, but perfectly usable. And with rox providing a pinboard, I am wondering why I would need...
by antiloquax
Thu May 03, 2012 4:26 pm
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

Thanks toxibunny,

I'm fine about Cheery's comments and I will do better next time. I learned a lot from making this game, but I know I have lots more to learn!

Here's a zip file of the code, sounds, images and the text file.
by antiloquax
Thu May 03, 2012 9:00 am
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

Well, I am wishing now that I had spent a bit more time on the code and the text description before passing it on to Frambozenbier. [hangs head in shame]

I will try to revise the whole thing as soon as possible and re-submit it!

mark
by antiloquax
Wed May 02, 2012 9:48 pm
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

<t>cheery said: <br/> <br/> Thanks for your comments, cheery.<br/> <br/> This was pretty much the first game I wrote. I know that it's not a very elegant program. As I think I mentioned in the text file, I'm aware of some of its shortcomings. Basically I just hacked away until it did what I wanted. ...
by antiloquax
Wed May 02, 2012 6:51 pm
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

<t>By the way, I don't know how closely the performance of the different releases under qemu reflects the way that the RPi itself will run, but Arch is much facter than Debian.<br/> <br/> For an example, I ran glxgears on my qemu-debian and got about 9.5 frames per second. The arch OS runs at just o...
by antiloquax
Wed May 02, 2012 5:32 pm
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

<t>I haven't got my sound set up yet in my qemu pi. But I think the problem is that you have to initialise mixer after creating the display on some systems.<br/> <br/> If I add:<br/> <br/> <br/> pygame.mixer.init()<br/> <br/> <br/> just before the lines that load the sounds, I don't get the mixer no...
by antiloquax
Wed May 02, 2012 5:20 pm
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

Thanks Liam
by antiloquax
Wed May 02, 2012 4:12 pm
Forum: General discussion
Topic: RasPi Space Invader- PDF and source code
Replies: 30
Views: 8574

Re: RasPi Space Invader- PDF and source code

<t>toxibunny said: <br/> <br/> <br/> Tried to look at the source code, get a tar.gz file containing something called 'tartmp.DbmPKW'. What gives?<br/> <br/> <br/> The tar.gz file is a Linux archive. You can extract it easily in any Linux machine with:<br/> <br/> <br/> tar -zxvf <filename><br/> <br/>...
by antiloquax
Wed May 02, 2012 2:47 pm
Forum: Other projects
Topic: MagPi – Raspberry Pi Magazine
Replies: 262
Views: 51242

Re: MagPi – Raspberry Pi Magazine

I have just printed the magazine out. It looks great!

All the hard work from the editorial team has definitely been worthwhile.

I particularly like how the coding examples are on a line-printer style background!
by antiloquax
Wed May 02, 2012 11:50 am
Forum: Beginners
Topic: Arch
Replies: 5
Views: 1971

Re: Arch

<t>I have been playing around with the Arch release and making it a bit more like Puppy.<br/> <br/> If anyone wants to try running my image on qemu, it's here. It has Python and pygame, and some other programming goodies.<br/> <br/> I don't know what would happen if you DD'd this into an Arch SD car...
by antiloquax
Tue May 01, 2012 5:05 pm
Forum: Other projects
Topic: racy_py
Replies: 39
Views: 6621

Re: racy_py

<t>Hi apple_tart,<br/> <br/> There's plenty you can do to change the appearance of Puppy.<br/> <br/> If the display looks "fuzzy" it might be worth running the video wizard to check if you could improve the video driver and resolution (it's with the other wizards in "Setup").<br/> <br/> Then you sho...

Go to advanced search