Search found 714 matches

by nicksen782
Sat Feb 22, 2014 5:42 am
Forum: Programming & Software
Topic: PetifFatFs (SDCARD)
Replies: 19
Views: 9265

Re: PetifFatFs (SDCARD)

Here is the code again, but neatened a bit: void loadRAMmap(unsigned char themap, unsigned char animation){ ClearVram(); // Get the SD card ready FATFS fs; // Work area (file system object) for the volume res = pf_mount(&fs); pf_mount(NULL); // Activate and then de-activate the SD card. Think of...
by nicksen782
Fri Feb 21, 2014 10:32 am
Forum: Programming & Software
Topic: PetifFatFs (SDCARD)
Replies: 19
Views: 9265

Re: PetifFatFs (SDCARD)

Okay, I've been doing lots of testing and have found some *interesting* issues. This is one that I think might actually be a bug in Petitfs or fatfs. I last synced from the svn on the 9th BTW. Seeking: Using pf_lseek gives odd results. In my case, each screen map takes 706 bytes. So, my thought was ...
by nicksen782
Fri Feb 21, 2014 5:30 am
Forum: Programming & Software
Topic: Movie Player not working
Replies: 6
Views: 3726

Re: Movie Player not working

I do have an ISP programmer. However, I'm not sure how to program a bootloader with it. Do you just flash the .hex? I don't use AVR Studio at this point. I thought about getting into Eclipse but I've been using Notepad++.

Do you know of a command-line way of doing it?
by nicksen782
Thu Feb 20, 2014 9:36 pm
Forum: Programming & Software
Topic: Movie Player not working
Replies: 6
Views: 3726

Re: Movie Player not working

Thanks Uze, that seems to work with the emulator. Please take a look at the following video: http://screencast.com/t/GgTkKJKRru I've found that with SD access that the names of other files will affect how the SD card works. I've found that I can mount the filesystem and get the size of a file but an...
by nicksen782
Mon Feb 17, 2014 6:50 am
Forum: Programming & Software
Topic: Movie Player not working
Replies: 6
Views: 3726

Movie Player not working

I've tried with the latest emulator version 1.19. I also downloaded the zip file from http://uzebox.org/wiki/index.php?title=Movie_Player. I had to use packrom to make a .uze file. I get the same/similar result on the hardware and the emulator. The emulator would show some of the colors and at times...
by nicksen782
Sat Feb 08, 2014 3:13 am
Forum: Music & Graphics
Topic: efficient way to draw mode 3 sprites?
Replies: 4
Views: 9395

Re: efficient way to draw mode 3 sprites?

@ nicksen782 i don't know what you mean with that sadly.. @ cunningfellow thanks for the script, even though it's not relative to my question about drawing sprites XD Your function always maps and moves sprite 0 (which would be sprites 0-3 for your 2x2 megasprite.) What I was saying was that instea...
by nicksen782
Thu Feb 06, 2014 10:58 pm
Forum: Music & Graphics
Topic: efficient way to draw mode 3 sprites?
Replies: 4
Views: 9395

Re: efficient way to draw mode 3 sprites?

in create_sprite, you have map and movesprite with the first arguement being 0. that will always map and move with the same id. lets say your sprite is 4 tiles and you use 0 as the id. It would take sprites 0-3. In your case, its always the same sprites. Perhaps you should pass the sprite id into th...
by nicksen782
Thu Feb 06, 2014 5:47 am
Forum: Programming & Software
Topic: PetifFatFs (SDCARD)
Replies: 19
Views: 9265

Re: PetifFatFs (SDCARD)

Ha! Duh! Yeah, that makes sense. Thanks man. In my game however, it only scrolls when it hits the end of the screen and it will then redraw a whole screen. So, in my specific case, I don't need scrolling. The built-in GetTile function supports both mode 3 scrolling and no scrolling. I don't think I'...
by nicksen782
Thu Feb 06, 2014 5:10 am
Forum: Programming & Software
Topic: PetifFatFs (SDCARD)
Replies: 19
Views: 9265

Re: PetifFatFs (SDCARD)

Mode 3 without scrolling... I'm really not even using the scrolling feature if you think about it. I'm just drawing in the map and moving Link to the other side. It looks like scrolling, but isn't. In fact, scrolling is messing up my code. Now all collisions have to consider the scrolling values. I'...
by nicksen782
Thu Feb 06, 2014 4:50 am
Forum: Music & Graphics
Topic: can someone compile these graphics to inc files for me?
Replies: 6
Views: 8481

Re: can someone compile these graphics to inc files for me?

You can go here: https://code.google.com/p/uzebox/downloads/list and download uzebox_bin_Win32_dev_trunk_r212.zip. That would be a quick start. Also, you can use svn and download the latest and greatest, that's what I did. The r212 is actually kind of old and new things have been added since then. I...