| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| cdoty Member
 
  
 
 Joined: 02 Feb 2005
 Posts: 73
 Location: Houston, TX
 
 | 
			
				|  Posted: Tue Jul 27, 2010 5:53 am    Post subject: PC_FX pio support? |   |  
				| 
 |  
				| Could Magic Engine FX support logging pio_putstr calls? 
 This would be a nice form of printf debugging for homebrew development.
 _________________
 Visit RasterSoft on facebook  or visit the website.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dmichel Admin
 
  
 
 Joined: 04 Apr 2002
 Posts: 1166
 Location: France
 
 | 
			
				|  Posted: Tue Jul 27, 2010 10:40 pm    Post subject: |   |  
				| 
 |  
				| Oh yes I can enable some pio calls, the version I use to debug MagicEngine-FX already support putstr, fopen, fseek, fread, and fclose.  _________________
 David Michel
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| cdoty Member
 
  
 
 Joined: 02 Feb 2005
 Posts: 73
 Location: Houston, TX
 
 | 
			
				|  Posted: Wed Jul 28, 2010 1:14 am    Post subject: |   |  
				| 
 |  
				|  	  | dmichel wrote: |  	  | Oh yes I can enable some pio calls, the version I use to debug MagicEngine-FX already support putstr, fopen, fseek, fread, and fclose.  | 
 
 putstr would be awesome.
 
 Do you have the file functions pointing to the local filesystem?
 _________________
 Visit RasterSoft on facebook  or visit the website.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dmichel Admin
 
  
 
 Joined: 04 Apr 2002
 Posts: 1166
 Location: France
 
 | 
			
				|  Posted: Wed Jul 28, 2010 9:45 am    Post subject: |   |  
				| 
 |  
				| Yes, they point to a directory you define in the pcfx.ini, and access is restricted too so that a program can't go outside this defined directory. _________________
 David Michel
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| cdoty Member
 
  
 
 Joined: 02 Feb 2005
 Posts: 73
 Location: Houston, TX
 
 | 
			
				|  Posted: Fri Jul 30, 2010 1:56 am    Post subject: |   |  
				| 
 |  
				| Can the pio stuff be enabled with a command line option or registry setting, or is it something that has to be compiled in? I would love to get my hands on something like that. _________________
 Visit RasterSoft on facebook  or visit the website.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| dmichel Admin
 
  
 
 Joined: 04 Apr 2002
 Posts: 1166
 Location: France
 
 | 
			
				|  Posted: Fri Jul 30, 2010 5:48 pm    Post subject: |   |  
				| 
 |  
				| Yes, it's a compile-time option. I will prepare you a special version. _________________
 David Michel
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| cdoty Member
 
  
 
 Joined: 02 Feb 2005
 Posts: 73
 Location: Houston, TX
 
 | 
			
				|  Posted: Sat Jul 31, 2010 5:21 am    Post subject: |   |  
				| 
 |  
				|  	  | dmichel wrote: |  	  | Yes, it's a compile-time option. I will prepare you a special version. | 
 
 Thank you.
 _________________
 Visit RasterSoft on facebook  or visit the website.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |