Fri, 01 Jul 2005 15:39:23 +0000Document IKBD hardware problem with mouse buttons and joystick fire buttons
Patrice Mandin <patmandin@gmail.com> [Fri, 01 Jul 2005 15:39:23 +0000] rev 1087
Document IKBD hardware problem with mouse buttons and joystick fire buttons

Thu, 30 Jun 2005 12:03:19 +0000Cleanup C2P routine
Patrice Mandin <patmandin@gmail.com> [Thu, 30 Jun 2005 12:03:19 +0000] rev 1086
Cleanup C2P routine

Thu, 30 Jun 2005 12:02:25 +00004bits screen also has hardware palette
Patrice Mandin <patmandin@gmail.com> [Thu, 30 Jun 2005 12:02:25 +0000] rev 1085
4bits screen also has hardware palette

Thu, 30 Jun 2005 08:20:53 +0000Was not using firstcolor parameter
Patrice Mandin <patmandin@gmail.com> [Thu, 30 Jun 2005 08:20:53 +0000] rev 1084
Was not using firstcolor parameter

Wed, 29 Jun 2005 20:38:56 +0000Direct newbies to what to do
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 20:38:56 +0000] rev 1083
Direct newbies to what to do

Wed, 29 Jun 2005 20:32:46 +0000Avoid generating multiple key press/release messages for the same key
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 20:32:46 +0000] rev 1082
Avoid generating multiple key press/release messages for the same key

Wed, 29 Jun 2005 16:18:46 +0000Call old interrupt when receiving MIDI stuff
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 16:18:46 +0000] rev 1081
Call old interrupt when receiving MIDI stuff

Wed, 29 Jun 2005 16:18:08 +0000Remove debug code
Patrice Mandin <patmandin@gmail.com> [Wed, 29 Jun 2005 16:18:08 +0000] rev 1080
Remove debug code

Sat, 25 Jun 2005 18:21:13 +0000Forgot enumeration value for Atari clones
Patrice Mandin <patmandin@gmail.com> [Sat, 25 Jun 2005 18:21:13 +0000] rev 1079
Forgot enumeration value for Atari clones

Fri, 24 Jun 2005 12:48:38 +0000Patch from Antonio SJ Musumeci:
Ryan C. Gordon <icculus@icculus.org> [Fri, 24 Jun 2005 12:48:38 +0000] rev 1078
Patch from Antonio SJ Musumeci:

"
This code with SDL-1.2.8 and CVS:

#include <stdio.h>
#include <stdlib.h>
#include <SDL.h>

int
main(int argc, char** argv)
{
char alphabet[26] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char buffer_file[27] = {0};
char buffer_mem[27] = {0};
int rv_file;
int rv_mem;
FILE* file_ptr;
SDL_RWops* rwop_file;
SDL_RWops* rwop_mem;

file_ptr = fopen("./blah", "w");
fwrite(alphabet, 1, sizeof(alphabet), file_ptr);
fclose(file_ptr);

rwop_mem = SDL_RWFromMem(alphabet, sizeof(alphabet));
rwop_file = SDL_RWFromFile("./blah", "r");
rv_mem = SDL_RWread(rwop_mem , buffer_mem, 5, 6);
rv_file = SDL_RWread(rwop_file, buffer_file, 5, 6);
printf("From File: %d %s\n"
"From Mem: %d %s\n",
rv_file,
buffer_file,
rv_mem,
buffer_mem);
printf("Seek end of File: %d\n"
"Seek end of Mem: %d\n",
SDL_RWseek(rwop_file, 0, SEEK_END),
SDL_RWseek(rwop_mem , 0, SEEK_END));
SDL_RWclose(rwop_file);
SDL_RWclose(rwop_mem);

return 0;
}


Produces this output:

From File: 5 ABCDEFGHIJKLMNOPQRSTUVWXYZ
From Mem: 5 ABCDEFGHIJKLMNOPQRSTUVWXY
Seek end of File: 26
Seek end of Mem: 26
"

--ryan.