Author Topic: rapid fire  (Read 3529 times)

Offline cod4 rapid fire

  • Guppy
  • *
  • Posts: 4
  • Post quality +0/-0
rapid fire
« on: September 16, 2008, 04:54:13 PM »
Hey guys, this is the Hex. i used
:1000000000308A000428000084011F30830571300D
:1000100083168F0083121F1383161F109F101F114A
:100020009F110730831299008316950181170108EB
:10003000C73908388100831290010030A100920076
:10004000003083169200073083129900831605084A
:1000500006308312A000A00B2B28000019088C1179
:100060008316990101308F008312A60183160512B1
:10007000831205128316851283128516A608031DA6
:100080004D283230A60083160512103083128506E3
:1000900083168512203083128506A6033E2863004E
:02400E00F43C80
:00000001FF
worked great, but i was wondering if anybody knew how to speed the fire rate up by adjusting the program. is there anybody who can convert this text for me to something that i could understand.


Offline 802Chives

  • Sargeant at Arms
  • Acidmods Alumni
  • Millennium Poster
  • *
  • Posts: 1304
  • Post quality +10/-0
  • Gender: Male
Re: rapid fire
« Reply #1 on: October 08, 2008, 06:11:07 AM »
.hex is next to impossible to convert back to readable assembly or anything else for that matter.  Hence why a .hex is not really open source.  If that is one of Hazer's codes than you should be able to find the .asm for it, but not sure if it is easily optainable.  Even then his code is pretty involved and by the time you figure out how his works you can probly write your own.


Offline Hazer

  • x4675636B4E7574
  • Acidmods Alumni
  • Acid Modder
  • *
  • Posts: 583
  • Post quality +59/-0
Re: rapid fire
« Reply #2 on: October 11, 2008, 03:20:22 AM »
Code: [Select]
           LIST      P=12F683, F=INHX8M
            include "P12F683.inc"

            ORG     0x0000

            MOVLW   0x00
            MOVWF   PCLATH
            GOTO    Label_0001
            NOP
Label_0001  CLRF    FSR
            MOVLW   0x1F
            ANDWF   STATUS    , f
            MOVLW   0x71
            BSF     STATUS    , RP0
            MOVWF   0x0F
            BCF     STATUS    , RP0
            BCF     0x1F      , 06
            BSF     STATUS    , RP0
            BCF     0x1F      , 00
            BCF     0x1F      , 01
            BCF     0x1F      , 02
            BCF     0x1F      , 03
            MOVLW   0x07
            BCF     STATUS    , RP0
            MOVWF   0x19
            BSF     STATUS    , RP0
            CLRF    0x15
            BSF     OPTION_REG, NOT_RBPU
            MOVF    OPTION_REG, W
            ANDLW   0xC7
            IORLW   0x08
            MOVWF   OPTION_REG
            BCF     STATUS    , RP0
            CLRF    0x10
            MOVLW   0x00
            MOVWF   0x21
            MOVWF   0x12
            MOVLW   0x00
            BSF     STATUS    , RP0
            MOVWF   0x12
            MOVLW   0x07
            BCF     STATUS    , RP0
            MOVWF   0x19
            BSF     STATUS    , RP0
            MOVF    TRISA     , W
            MOVLW   0x06
            BCF     STATUS    , RP0
            MOVWF   0x20
Label_0002  DECFSZ  0x20      , f
            GOTO    Label_0002
            NOP
            MOVF    0x19      , W
            BCF     0x0C      , 03
            BSF     STATUS    , RP0
            CLRF    0x19
            MOVLW   0x01
            MOVWF   0x0F
            BCF     STATUS    , RP0
            CLRF    0x26
            BSF     STATUS    , RP0
            BCF     TRISA     , 04
            BCF     STATUS    , RP0
            BCF     PORTA     , 04
            BSF     STATUS    , RP0
            BCF     TRISA     , 05
            BCF     STATUS    , RP0
            BSF     PORTA     , 05
Label_0004  MOVF    0x26      , f
            BTFSS   STATUS    , Z
            GOTO    Label_0003
            MOVLW   0x32
            MOVWF   0x26
            BSF     STATUS    , RP0
            BCF     TRISA     , 04
            MOVLW   0x10
            BCF     STATUS    , RP0
            XORWF   PORTA     , f
            BSF     STATUS    , RP0
            BCF     TRISA     , 05
            MOVLW   0x20
            BCF     STATUS    , RP0
            XORWF   PORTA     , f
Label_0003  DECF    0x26      , f
            GOTO    Label_0004
            SLEEP
 
            ORG     0x2000
            DATA    0x0F
            DATA    0x0F
            DATA    0x0F
            DATA    0x0F
 
            ORG     0x2007
            DATA    0x14

It would take about an hour to define the registers used and conceptually determine what the code is trying to do. There is not much to it. It is not my code, it doesnt use the hardware interupt area.
[Quote from Gamermodz via Viking forums]
Don't be jealous your not half as smart. I hate ****tards like you. An ignorant redneck. Your nothing but a posing ******. Get the **** out of here, really, your claim to fame is an open source rapid fire code? You make me laugh. You think you have control over the modding market?  You couldn't create what I can and do. You are too ignorant with your outrageous assumptions and accusations. [/Quote]

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal