Page Index Toggle Pages: 1 [2]  Send TopicPrint
 25 Hello (Read 4533 times)
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #30 - 13.02.09 at 21:36:42
Print Post  
CJ wrote on 13.02.09 at 21:32:47:
Paint Shop Pro anyone? That turned into an over complicated useless mess of random buttons)


Yes.  I have PSP4 here, ...all 4MB of it.  GIMP (Linux) for everything else.  Can't stand Windows now having used it on and off, it's so bloated and laggy.

PSP4 also does the Amiga format, .IFF I think it is.  So you can easily convert graphics and alias on a modern PC to the ST.   Smiley
« Last Edit: 13.02.09 at 21:42:26 by techie_alison »  
Back to top
WWW  
IP Logged
 
CJ
D-Bug member
Reboot Member
*****
Offline


D-Bug Founder

Posts: 1205
Location: State of Confusion
Joined: 22.02.07
Gender: Male
Re: Hello
Reply #31 - 13.02.09 at 21:42:36
Print Post  
techie_alison wrote on 13.02.09 at 21:36:42:
Can't stand Windows now having used it on and off, it's so bloated and laggy.


It's just like me! must be why I get along OK with it Smiley
  

"With only one button, even drooling fucktards like Kizza can play our game!"
Back to top
 
IP Logged
 
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #32 - 13.02.09 at 22:25:14
Print Post  
CJ wrote on 13.02.09 at 21:42:36:
It's just like me! must be why I get along OK with it Smiley


Noooo!!  You're 6-feet tall and with a washboard stomach.  You all are.
  
Back to top
WWW  
IP Logged
 
CJ
D-Bug member
Reboot Member
*****
Offline


D-Bug Founder

Posts: 1205
Location: State of Confusion
Joined: 22.02.07
Gender: Male
Re: Hello
Reply #33 - 13.02.09 at 22:54:51
Print Post  
Only in your mind Wink

So, do you need the diagonals and the mouse x/y as well or was that ok?
« Last Edit: 13.02.09 at 22:55:08 by CJ »  

"With only one button, even drooling fucktards like Kizza can play our game!"
Back to top
 
IP Logged
 
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #34 - 14.02.09 at 00:31:11
Print Post  
Yes that's fine.  I can't complain can I, you wrote it for me in your own time!!  Smiley  

Ultimately I intend to use it as a template and recompile it.  That's where I'll go next.

It's main purpose for me is to hook up these JeSTs when the PCBs arrive.  At the moment with PeST, I use sysinfo which recognises right clicks and brings up the help menu.

I'll likely put a counter in there too, hooked up to the clock timer, which counts how fast the autofire is running.  Then there will be another which counts how fast the left right left right (joystick waggling) is running.  I can go upto about 50-times a second, but if the ST falls over at 20-times a second..  The mouse for example will go all over the place if you clock it too fast.  Just to pull out as much conceivable information about the port.  But that's for another day when I have all of these other jobs out of the way.

Smiley
« Last Edit: 14.02.09 at 00:33:14 by techie_alison »  
Back to top
WWW  
IP Logged
 
CJ
D-Bug member
Reboot Member
*****
Offline


D-Bug Founder

Posts: 1205
Location: State of Confusion
Joined: 22.02.07
Gender: Male
Re: Hello
Reply #35 - 14.02.09 at 01:26:03
Print Post  
Sure you can complain! What makes you different from everyone else on the internet? Tongue

"This has been a cut and paste software production" - didn't take long, so it wasn't a problem.

I guess you can tell the mouse works by watching the packet data in the "last 4 bytes" field.
  

"With only one button, even drooling fucktards like Kizza can play our game!"
Back to top
 
IP Logged
 
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #36 - 14.02.09 at 02:13:00
Print Post  
The 4-bytes, yes.  I'm used to viewing data like this when working with a scope.

God no, I'm not complaining.  You know I once used to and was really volatile, but you just kind of reach a point where it achieves nothing.  Far far easier and less stressful to just get on with everyone and fit in. Smiley

The attached file, ...when I find it...  The first one is of the Atari joystick interface itself, with the first top 4 being the directions, and the remaining 2 being the fire buttons.  Where they start oscillating is the autofire.  The traces at the very bottom are detailed in the next paragraph.

The 2nd one is the PSX packet itself.  It's a slight variation of the duplex SPI method.  D0 is CSEL, D1 is clock, D2 is CMD, D3 is DATA, D4 is ACK.  There's enough clocks there for 5-bytes.  Which is a single PSX digital packet, taking about 600uS where JeST is concerned.

All totally irrelevant stuff, but hey I like looking at them.  That thing cost me £500!!!!   Smiley

JeST sits in the middle of those two running at about 1MIPS dependent on instructions and jumps.  Some of the decision making is a bit cumbersome as with only 35 RISC instructions there's no branching commands like IF.  It's all done with the overflow flags and shifting bits left and right and checking them.

All bit banged.

Code
Select All
;------------------------------------------------------------------------------
;Subroutine : PSX_RW_BYTE
;------------------------------------------------------------------------------
;Passed : W contains byte to be transmitted
;Valid : N/A
;Uses : psx_tx_byte_ , psx_rx_byte_ , loop1_
;Returns : Byte received in W and psx_rx_byte_
;Error Code : N/A
;Error Trapping : N/A
;Outline : SPI style byte transfer
;------------------------------------------------------------------------------
PSX_RW_BYTE
    MOVWF   psx_tx_byte_

    MOVLW   8d									    ;we will be transferring 8 bits

    MOVWF   loop1_
Psx_rw_byte_next_bit:
    BCF     PORTB,   PSX_CLK_PORTB_O_						 ;bring clock low

    RRF     psx_tx_byte_, F							   ;put transmitted data on bus

    BTFSS   STATUS, C
    BCF     PORTB, PSX_CMD_PORTB_O_	  
    BTFSC   STATUS, C
    BSF     PORTB, PSX_CMD_PORTB_O_

    BSF     PORTB, PSX_CLK_PORTB_O_						 ;bring clock high

    BCF     STATUS, C
    BTFSC   PORTB, PSX_DAT_PORTB_I_						 ;get received data from bus

    BSF     STATUS, C
    RRF     psx_rx_byte_, F

    DECFSZ  loop1_, F
    GOTO    Psx_rw_byte_next_bit						    ;next bit

    BSF     PORTB, PSX_CMD_PORTB_O_						 ;set COMMAND high	  

    MOVF    psx_rx_byte_, W							   ;value returned to caller

    RETURN
 

« Last Edit: 14.02.09 at 02:24:27 by techie_alison »  

autofire.png ( 5 KB | Downloads )
autofire.png
packet5c.png ( 7 KB | Downloads )
packet5c.png
Back to top
WWW  
IP Logged
 
CJ
D-Bug member
Reboot Member
*****
Offline


D-Bug Founder

Posts: 1205
Location: State of Confusion
Joined: 22.02.07
Gender: Male
Re: Hello
Reply #37 - 14.02.09 at 03:07:37
Print Post  
techie_alison wrote on 14.02.09 at 02:13:00:
All totally irrelevant stuff, but hey I like looking at them.  That thing cost me £500!!!!   Smiley


Very nice, but can it play Geometry Wars?

Gotta go out for the rest of the day, but if I get a chance I'll bash up one that shows the last 16 or so bytes and does diagonals.  If I get more than a chance, maybe mouse packet data as well.
  

"With only one button, even drooling fucktards like Kizza can play our game!"
Back to top
 
IP Logged
 
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #38 - 14.02.09 at 03:35:11
Print Post  
Oh wow!!  Almost as good as Omega Race.   Smiley

I thought you meant;

 

No worries on timing.  I really appreciate it whenever.  I'm pretty much on hold at the moment until the PCBs arrive next week, as that'll be when I start getting the timing variables right for the ST and Sinclair.  Might have to rework the PCBs I found out the other day too, should have put a pull-up resistor on there.. Smiley
« Last Edit: 14.02.09 at 03:52:12 by techie_alison »  
Back to top
WWW  
IP Logged
 
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #39 - 14.02.09 at 03:40:25
Print Post  
YAYYYYYYYYYyyyyyyyyyyyyy

YOU are just going to LOVE THIS!!!  Mario on Tesla Coils;



This is the external link if your browser blocks it : http://www.youtube.com/watch?v=B1O2jcfOylU

And some of the comments...

Quote:
KaiserVadin (2 months ago)
Normal people shouldn't have those, they could be used to kill people!

GunslingerInferno (2 months ago)
Do they really seem like normal people?
« Last Edit: 14.02.09 at 03:48:35 by techie_alison »  
Back to top
WWW  
IP Logged
 
remowilliams
Distributor
Reboot Member
**
Offline


D-BUGer

Posts: 58
Joined: 28.12.08
Re: Hello
Reply #40 - 14.02.09 at 04:38:54
Print Post  
techie_alison wrote on 13.02.09 at 22:25:14:
Noooo!!  You're 6-feet tall and with a washboard stomach.  You all are.

Actually, I'm 6'2" http://www.atariage.com/forums/index.php?showtopic=2671&view=findpost&p=1097248  but who's counting?  Grin 

techie_alison wrote on 14.02.09 at 02:13:00:
That thing cost me £500!!!!   Smiley

Getting a scope is something that keeps banging around the fringes of my thoughts.  I barely know what to do with one, but I've had occasions where it would have been might handy.

Oh, and welcome aboard.  The fellows tell me that I must get a PeST interface...   Wink
  
Back to top
 
IP Logged
 
Shw
D-Bug member
*****
Offline


D-Bug member

Posts: 367
Location: Kingston Upon Hull
Joined: 22.02.07
Gender: Male
Re: Hello
Reply #41 - 14.02.09 at 07:43:07
Print Post  
Version 4?! that's so cutting edge Ali !

I still use 3.14, it's the nearest thing to Neochrome on the PC apart from maybe Dpaint Smiley

Shw
  
Back to top
 
IP Logged
 
techie_alison
RoMzkiddiEz
*
Offline


D-BUGer

Posts: 37
Location: U.K.
Joined: 11.02.09
Gender: Female
Re: Hello
Reply #42 - 15.02.09 at 00:45:21
Print Post  
Right where were we.

Shw?  You want PSP4?   Smiley

And Remo, you want an oscilloscope.  Smiley  It depends what you want to do with it really, as to which one you get.  There's 4 main flavours, that being an analogue scope which is literally volts over time, basically a CRT connected to a timebase.  A digital scope, which is almost the same but has a computer in it and can store things and go back and forth.  An MSO (Mixed Signal) which is digital and has additional LA (Logic Analyser lines in a scope type fashion).  That's what I have.  And finally an LA (Logic Analyser) which is much more advanced than the MSO, but doesn't have the analogue aspect.  

Each has their uses depending on what you want to do.  The Velleman scopes are pretty basic digital scopes with a tiny memory, but are fine for single line fault diagnosis and automotive stuff.  http://i31.twenga.com/3/tp/46/55/6046238802527484655vb.png .  £50 is about the going rate for those 2nd hand.  I almost always buy new though (about £90) unless it's silly cheap.

£80 at Maplin right now; http://www.maplin.co.uk/Module.aspx?ModuleNo=32611&doy=15m2&C=SO&U=strat15 .  They're pretty rubbish though except for anything other than audio signals and basic digital.  It's says 10Mhz but aliasing takes that down to about 2Mhz max.
« Last Edit: 15.02.09 at 00:50:10 by techie_alison »  
Back to top
WWW  
IP Logged
 
Shw
D-Bug member
*****
Offline


D-Bug member

Posts: 367
Location: Kingston Upon Hull
Joined: 22.02.07
Gender: Male
Re: Hello
Reply #43 - 16.02.09 at 11:39:31
Print Post  
techie_alison wrote on 15.02.09 at 00:45:21:
Right where were we.
Shw?  You want PSP4?   Smiley


Naah thanks Ali but I'll keep with the old school 3.14. Like CJ I never got to grips with the newer bloatware versions.

Shw
  
Back to top
 
IP Logged
 
remowilliams
Distributor
Reboot Member
**
Offline


D-BUGer

Posts: 58
Joined: 28.12.08
Re: Hello
Reply #44 - 18.02.09 at 02:51:39
Print Post  
techie_alison wrote on 15.02.09 at 00:45:21:
And Remo, you want an oscilloscope.  Smiley  It depends what you want to do with it really, as to which one you get.

Thanks Aly, that does give me a bit more to think about.  I definitely want a digital scope, and there are times where a simple logic analyzer might be beneficial too.  I remember seeing a PC based setup that looked interesting as well.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint
 
  « Board Index ‹ Board  ^Top