xboxscene.org forums

Pages: 1 2 3 [4] 5

Author Topic: Flash Tsop With X2 (and Others) 12c508 Code  (Read 558 times)

Regionfree

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #45 on: April 16, 2003, 03:02:00 AM »

QUOTE
hippo - why not rls the asm - this is opensource stuff bro

and why not post a link the the file instead of forcing ppl to visit that ng ?

also id like to not that hippo's work has zero to do with what we're discussing in this threa - hippo did you actually read what the code was about ?

hippos code is for enable / disable of lpc mod (in his case a cheap mod) via reset / eject

the code discussed in this thread is for flashing the ONBOARD ROM (TSOP) using an X2 or any LPC mod


The file which hippo has released is nearly 3meg, and unless someone hosts it for him, which I will be doing shortly, that ng is the only way people can view it.

Also if you know what you are doing you can create and asm file from the hex code that he has posted.


Logged

hippo

  • Archived User
  • Sr. Member
  • *
  • Posts: 497
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #46 on: April 16, 2003, 03:27:00 AM »

smile.gif



The led doesn't work real well because I think a 220ohm resistor might be a bit high. I will look into that later on tonight

^^^ drives 3.3v at 15ma and no problems so far. The chip uses 10ma.



Hippo, your code does every thing your say it does.

^^^^ Finally a man of reason. To disable the chip pull 22 and 24 high and use 10k to ground same as the homebrew switch I'm thinking. That's why I reserved pin 2 it's already set up on the pcb's I had made up. It's all tested on XBL thopugh and okay as is.
Logged

Ubergeek

  • Archived User
  • Hero Member
  • *
  • Posts: 686
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #47 on: April 16, 2003, 08:20:00 AM »

QUOTE (hippo @ Apr 16 2003, 11:27 AM)
also id like to not that hippo's work has zero to do with what we're discussing in this threa - hippo did you actually read what the code was about ?

^^^^^ Personally I feel flashing the TSOP is crap. If you can't afford the $1.79 40LF020 then you tried to buy it from someone who marked it up too high smile.gif


I 100% agree with you

We've been saying this from day one ("we" are Xecuter btw in case you hadn't realised)

This is simply for those that want to screw around with it

However it still does not detract away from the fact that the post you started really was nothing to do with this particular thread - the code you've made is child play but we never included it on the Xecuter design due to the fact that software enable / disable isnt what we feel "hard" secure - so people may have logged onto XBL with their mods still enabled. Don't say this is crap as its happened to many many people - you only have to read around.

Keep up your input to the scene.
Logged

Ubergeek

  • Archived User
  • Hero Member
  • *
  • Posts: 686
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #48 on: April 16, 2003, 08:22:00 AM »

QUOTE (Regionfree @ Apr 16 2003, 11:02 AM)
QUOTE
hippo - why not rls the asm - this is opensource stuff bro

and why not post a link the the file instead of forcing ppl to visit that ng ?

also id like to not that hippo's work has zero to do with what we're discussing in this threa - hippo did you actually read what the code was about ?

hippos code is for enable / disable of lpc mod (in his case a cheap mod) via reset / eject

the code discussed in this thread is for flashing the ONBOARD ROM (TSOP) using an X2 or any LPC mod


The file which hippo has released is nearly 3meg, and unless someone hosts it for him, which I will be doing shortly, that ng is the only way people can view it.

Also if you know what you are doing you can create and asm file from the hex code that he has posted.

3MB for an asm and hex file ?

more like 16k dude - I wasnt talking about stupid ass sized images

and yeah if he wants it hosting ill host it for him - on our xecuter main site

I also like the comment you made "if you know what you are doing"

lol - good one wink.gif

CODE

; Hippo's 49LF020 Enable / Disable Mod
; Dissasembled by Ubergeek just foir the sake of doing it

;-------------------------------------------------------------------------------------------
; Microchip PIC12C508 code
; COMPILE WITH MPASM FROM MICROCHIP
;-------------------------------------------------------------------------------------------
   LIST p=12c508
   INCLUDE
   __FUSES   h'0FEA'
   RADIX dec

; R E G I S T E R   B I T S   (their name must not repeat)
GP5    EQU   5
GP4    EQU   4
GP3    EQU   3
GP2    EQU   2
GP1    EQU   1
GP0    EQU   0

; V A R I A B L E S
TMR0    EQU   h'01'
PCL    EQU   h'02'
OSCCAL    EQU   h'05'
GPIO    EQU   h'06'
var_07    EQU   h'07'
var_0A    EQU   h'0A'
var_17    EQU   h'17'
var_19    EQU   h'19'
var_1F    EQU   h'1F'

; C O D E

   ORG   h'0000'
   movwf   OSCCAL
   goto   loc_000F
   movf   var_07, W
   addwf   PCL, F
   retlw   h'48'     ;  72  b'01001000'  'H'
   retlw   h'49'     ;  73  b'01001001'  'I'
   retlw   h'50'     ;  80  b'01010000'  'P'
   retlw   h'50'     ;  80  b'01010000'  'P'
   retlw   h'4F'     ;  79  b'01001111'  'O'
   retlw   h'2E'     ;  46  b'00101110'  '.'
   retlw   h'32'     ;  50  b'00110010'  '2'
   retlw   h'30'     ;  48  b'00110000'  '0'
   retlw   h'30'     ;  48  b'00110000'  '0'
   retlw   h'33'     ;  51  b'00110011'  '3'
   retlw   h'2E'     ;  46  b'00101110'  '.'
loc_000F:
; Referenced from:   0001;
   clrf   var_17
   clrf   var_19
   clrf   var_1F
   clrf   var_0A
   movlw   h'C7'     ; 199  b'11000111'  'Ç'
   option
   movlw   h'FF'     ; 255  b'11111111'  'ÿ'
   tris   GPIO
   btfsc   GPIO, GP3
   goto   loc_0029
   movlw   h'F8'     ; 248  b'11111000'  'ø'
   tris   GPIO
   bsf   GPIO, GP0
   bcf   GPIO, GP2
   bcf   GPIO, GP1
   movlw   h'50'     ;  80  b'01010000'  'P'
   movwf   var_17
   call   loc_002F
   btfsc   GPIO, GP3
   goto   loc_002D
   goto   loc_0024
loc_0024:
; Referenced from:   loc_000F+0x0014;
   movlw   h'C8'     ; 200  b'11001000'  'È'
   movwf   var_17
   call   loc_002F
   bsf   GPIO, GP1
   goto   loc_002D
loc_0029:
; Referenced from:   loc_000F+0x0009;
   movlw   h'FC'     ; 252  b'11111100'  'ü'
   tris   GPIO
   bcf   GPIO, GP0
   bcf   GPIO, GP1
loc_002D:
; Referenced from:   loc_000F+0x0013; loc_0024+0x0004; loc_002D+0x0001;
   nop
   goto   loc_002D
loc_002F:
; Referenced from:   loc_000F+0x0011; loc_0024+0x0002; loc_0030+0x0003;
   clrf   TMR0
loc_0030:
; Referenced from:   loc_0030+0x0001;
   btfss   TMR0, 7
   goto   loc_0030
   decfsz   var_17, F
   goto   loc_002F
   retlw   h'00'     ;   0  b'00000000'  

   END

Logged

Ubergeek

  • Archived User
  • Hero Member
  • *
  • Posts: 686
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #49 on: April 16, 2003, 08:32:00 AM »

QUOTE (BorgKing @ Apr 13 2003, 07:16 AM)
Will this method work with xecuter 1?

yes you can use this - X1 used the same basic principal of d0 on enable / off disable
Logged

Regionfree

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #50 on: April 16, 2003, 12:56:00 PM »

QUOTE
3MB for an asm and hex file ?

more like 16k dude - I wasnt talking about stupid ass sized images

and yeah if he wants it hosting ill host it for him - on our xecuter main site

I also like the comment you made "if you know what you are doing"

lol - good one


I know you by reputation and I wasn't inlying for even a second that you personally wouldn't know how to do it. I simply meant that anyone who doesn't know how to create an asm file from a hex wouldn't know what to do with an asm anyway.

In his zipped file he also has a pdf tutorial and so on which is the reason for the size of the file.

There was no offence intended.
Logged

MacGuyver_3030

  • Archived User
  • Jr. Member
  • *
  • Posts: 60
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #51 on: April 16, 2003, 02:15:00 PM »

hmmmm, ok, i think i did this right, i flashed my x2lite with the evox_matrix_tsop bios and i restarted my xbox and now the little eject light cycles grean, orange, red, etc, sometimes it will blink only green for about 2 seconds then it resumes, did i fuck up already?



edit: if i did fuck it up, no worries, i have a flash cable for the x2lite, its so sweet, i can fuck up all i want :-)

edit 2: heh, a15 has to be grounded for this to boot right? thats why im getting those flashing lights? i think thats why thats happening
Logged

Ubergeek

  • Archived User
  • Hero Member
  • *
  • Posts: 686
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #52 on: April 17, 2003, 03:06:00 AM »

QUOTE (Regionfree @ Apr 16 2003, 08:56 PM)
QUOTE
3MB for an asm and hex file ?

more like 16k dude - I wasnt talking about stupid ass sized images

and yeah if he wants it hosting ill host it for him - on our xecuter main site

I also like the comment you made "if you know what you are doing"

lol - good one


I know you by reputation and I wasn't inlying for even a second that you personally wouldn't know how to do it. I simply meant that anyone who doesn't know how to create an asm file from a hex wouldn't know what to do with an asm anyway.

In his zipped file he also has a pdf tutorial and so on which is the reason for the size of the file.

There was no offence intended.

hehe no offence taken bud i was just messing smile.gif

Logged

Origzaphod

  • Archived User
  • Newbie
  • *
  • Posts: 12
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #53 on: April 29, 2003, 04:51:00 AM »

QUOTE (m3talslug @ Apr 28 2003, 09:12 PM)
I have a couple of questions concerning TSOP flashing.

What additional functionality do you get from flashing your TSOP vs having an X2Pro?

What is the TSOP?  People have said it's the onboard ROM.  Is that the same as the onboard ROM that contains the MS Xbox Bios?


No additional functions other then you no longer need the X2Pro installed to play backups, imports, etc... But also No more XBL

Yes it is reffering to the On Board Ms Bios. Its not a Rom but rather a flash rom chip.



On a side note, if there is still a need for this to be hosted, contact me, I will host it on my page.

Dennis


Logged

jogger

  • Archived User
  • Newbie
  • *
  • Posts: 1
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #54 on: May 10, 2003, 09:55:00 AM »

why bother with all of that code. just follow the instructions without the code or PIC. worked great for me w/x2lite
Logged

PsiDOC

  • Archived User
  • Full Member
  • *
  • Posts: 187
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #55 on: May 11, 2003, 01:48:00 AM »

The reason for the 30 odd errors are because the forum will not allow the necessary Tab spaces that are needed for Mpasm assemble the code correctly. Anyone that is familiar with the layout for MPasm will be able to edit the code up into an assemble-able in a couple of minuites.

Just 1 question though Ubergeek........
According to my calculation the D0 line will be disconnected after approx 1/4 second not 1/2.

In the Long_ subroutine you use the 8th bit of TMR0 to trigger the Decrease count register, so this means only bits 0 to 6 (0 to 127 in decimal) are counted in TMR 0.
This means for D0:
(t0pre * TMR0 * Count register) / Pic instruction clock (1Mhz or 1000000)
(255*128*8) /1000000 = 0.261120 seconds, which is only 50% of what you state on the file.
Obviously the quick fix is to change the count register to 16, however I am just curious. Is the 1/4 second correct?

The A15 line disconnects after about 43 seconds, so that seems fine.

Regards,
PsiDOC
Logged

neonman

  • Archived User
  • Full Member
  • *
  • Posts: 123
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #56 on: May 30, 2003, 04:18:00 PM »

sorry for the noobness, but can this also be done with a PC-BioXX chip?
Logged

WodMan

  • Archived User
  • Full Member
  • *
  • Posts: 163
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #57 on: July 24, 2003, 09:52:00 AM »

QUOTE
dude, all this shit seems so complicated for the average..(noob = me) user. isnt there a detailed "step-by-step" guide for flashing the tsop with just and x2lite..and not the x2pro?


I think the real question is that if you already have an x2lite, or a pro, or any solder-in mod ... why would you want to flash your TSOP, unless your box is already banned from live.  Then when Xbox-Next comes out, your box will have no resale value.  Just my .02.
Logged

STEVEHABS

  • Archived User
  • Full Member
  • *
  • Posts: 133
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #58 on: August 03, 2003, 12:10:00 PM »

O.K. so basically there is no way to run backups and homebrewn shit without a mod chip or without doing any soldering. no way at all right. even if u find the rc4 kit?
Logged

Ginie66

  • Archived User
  • Newbie
  • *
  • Posts: 26
Flash Tsop With X2 (and Others) 12c508 Code
« Reply #59 on: August 04, 2003, 05:58:00 AM »

biggrin.gif yeah there is look at PhoenixBiosLoader 1.3 it allows you to load the bios trough the ram works great still a few probs with it but it wil be the next best thing to the 007 and soldering the points on the mobo
Logged
Pages: 1 2 3 [4] 5