Search:

Type: Posts; User: steffi

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    913

    Problems with arrays

    Hello

    I am trying to declare this an array like this


    unsigned long *data[] = {0x61626364, 0x65800000, 0x00000000 }

    because I need to pass this array to a function
    but i get warnings...
  2. Thank you, thank you, and thank you very much!

    Thank you, thank you, and thank you very much!
  3. Thanks! That solved the problem with the warning,...

    Thanks! That solved the problem with the warning, now I have an application error when I run the program... "The instructions at 0x.. referenced memory at 0x.. The memory couldnt not be written"...
  4. Help: makes pointer from integer without a cast

    Hello!

    Iam having some problem with my c program again. Hope you can help me.
    I have been working with this for some hours now

    I am trying to make a split function, split a string into an...
  5. Thread: Eval in C?

    by steffi
    Replies
    6
    Views
    13,081

    Eval in C?

    Hello again!

    Is there such a thing as eval in C?

    In my C-file I have this defined

    #define doSomething (0x123456)
    #define doSomethingElse (0x100efe2)
  6. Replies
    2
    Views
    1,710

    Thank you Salem, that was quite fast answer :-)

    Thank you Salem, that was quite fast answer :-)
  7. Replies
    2
    Views
    1,710

    Read lines from a file

    Hi!

    I have a question. I need to read a file, line by line, but i cant find such function in C. Can anybody help me with this? My text file is kind of a config file, so I know how many lines the...
  8. Thread: Emulator book?

    by steffi
    Replies
    3
    Views
    2,992

    Hello again! :) My first question is about...

    Hello again! :)

    My first question is about memory management. There is a piece of software that it is going to be testeg agains the emulator that I am working, that software has to read and write...
  9. Thread: Emulator book?

    by steffi
    Replies
    3
    Views
    2,992

    Emulator book?

    Hello!

    I am having some problems with an emulator that I have to write, does anybody knows any good reference book? I am trying to emulate some hardware. Tips?
  10. Replies
    15
    Views
    1,908

    Thank you very much for all your help, you were...

    Thank you very much for all your help, you were all so nice I wasn´t expecting such as quick and useful answers, I will be soon posting more questions. I am working with an emulator and unfortunatlly...
  11. Replies
    15
    Views
    1,908

    Thanks QuantumPete. Now I wonder if there is some...

    Thanks QuantumPete. Now I wonder if there is some kind of math-magic so that I can have an array of the size that is equal to the number of register that I need and that can easily be accessed?
  12. Replies
    15
    Views
    1,908

    That is exactly my dilema matsp... I have to...

    That is exactly my dilema matsp... I have to access my register quite often... what is more efficent, having a big array with empty elements or running loops every time i need to access the data?
  13. Replies
    15
    Views
    1,908

    Hello Citizen. I will like to do my mapping in...

    Hello Citizen.

    I will like to do my mapping in order to do this, read(address) write(address, value) thats why I need those register. I dont know how to solve that problem, I don't know if it is...
  14. Replies
    15
    Views
    1,908

    Hi IceDane, thanks for you reply... What I...

    Hi IceDane, thanks for you reply...

    What I was planning to do was:
    The register rx will have a place in the array rx/4
    For instance, take register 0x08 its place in the array will be 0x08/4 =...
  15. Replies
    15
    Views
    1,908

    Help with memorymapping

    Hi!

    I have to do an emulation of a hardware and have a description of which registers they use in the hardware.

    But in my emulation I only need some of the registers with addresses like for...
Results 1 to 15 of 15