Search:

Type: Posts; User: etech58761

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,089

    I've been focusing on the interrupt routine that...

    I've been focusing on the interrupt routine that runs in the background, and these 800-some bytes of code are a lot more challenging than I expected.

    I can't decide if they went the obfuscation...
  2. Replies
    18
    Views
    2,239

    (I fixed it somehow... I wound up doing a line by...

    (I fixed it somehow... I wound up doing a line by line comparison with the original 6801 disassembly and made a bunch of clarifications and corrections, tried again, and the compiler was in a better...
  3. Replies
    18
    Views
    2,239

    So, I've been working on the interrupt code and...

    So, I've been working on the interrupt code and have run into an error I just can't see for some reason and it doesn't manifest if I try and cut it down and then force the error so I've just attached...
  4. Replies
    7
    Views
    1,089

    I do see some places where operations are...

    I do see some places where operations are performed on consecutive or grouped memory locations, so you may well be on to something in regards to 24-bit math. I'll keep that in mind.

    I already know...
  5. Replies
    7
    Views
    1,089

    Interrupts: I'll just comment out the calls for...

    Interrupts:
    I'll just comment out the calls for now until I decide what hardware I will end up using, see how interrupts are handled on the chosen platform and go from there at that time.

    BCD:...
  6. Replies
    7
    Views
    1,089

    A few more assembly to C++ questions

    So I have a solid start on getting the 3/4 of the code I've transliterated moving towards proper C++.

    I've got some questions that I would like input on to get an idea how to tackle the other 25%...
  7. Replies
    18
    Views
    2,239

    I wound up redoing the transliteration I'd been...

    I wound up redoing the transliteration I'd been working on, and have about 3/4 of the code ready for optimization and final rewrite.

    What remains may leave me bald by the time I finish.

    I do...
  8. Replies
    8
    Views
    1,079

    Followup: I have now eliminated all seven...

    Followup: I have now eliminated all seven 'emergency exit doors' from the code.

    The more I dig, the more I am amazed the original code works as well as it did on the original hardware.
  9. Replies
    8
    Views
    1,079

    The approach I plan to take within the function...

    The approach I plan to take within the function is to set the variable 'error' if the conditional is met that would have triggered the jump to the INS instructions, and use the 'else' part of the...
  10. Replies
    18
    Views
    2,239

    Just sticking my nose back in for a few...

    Just sticking my nose back in for a few minutes... will have to take a bit of time and digest the information at the start. I do appreciate the information - like I said, I'm not looking for "eh,...
  11. Replies
    8
    Views
    1,079

    Salem - THANK YOU for the prompt to look at the...

    Salem - THANK YOU for the prompt to look at the code at $EE0A...!

    Had a light-bulb moment (and a 100-watt grin on my face atm)

    I now realize what's happening - the code at EE0A displays a...
  12. Replies
    18
    Views
    2,239

    How am I doing so far?

    A sampling of code that I've translated from 680x assembly, formatted into C++, and tested in an online compiler.



    int keyCheck ( bool enter, bool check, bool next, bool repeat,
    ...
  13. Replies
    8
    Views
    1,079

    ...I didn't realize there was that much...

    ...I didn't realize there was that much difference between the variants - given how little I know about the C languages, I may have posted my original question in the wrong forum?

    Regardless, as...
  14. Replies
    8
    Views
    1,079

    Breaking out of a function properly?

    So I decided to try a different approach regarding the code and before I show a few examples of my coding, I want to get back to one bit of 680x coding that has me scratching my head looking for a...
  15. Replies
    27
    Views
    2,938

    laserlight: I found an online c++ debugger, have...

    laserlight: I found an online c++ debugger, have already taken a few functions through it and got them to the "it'll compile" stage, so I have a tentative start. Will post snippets hopefully soon to...
  16. Replies
    27
    Views
    2,938

    Tossing in the towel for now. I got CodeBlocks...

    Tossing in the towel for now.

    I got CodeBlocks and gcc installed, but even though I followed the instructions and installed the latest available for Mac (17.12; they don't have resources to commit...
  17. Replies
    27
    Views
    2,938

    The instructions in the C++ book for fetching and...

    The instructions in the C++ book for fetching and installing CodeBlocks DID include instructions for fetching and installing gcc as well, which I just now confirmed was present.
  18. Replies
    27
    Views
    2,938

    Just dropping in for a bit... picked up a C++...

    Just dropping in for a bit... picked up a C++ book a few hours ago (I didn't see the recommendations until too late; wound up with C++ all in one for Dummies) and now have the CodeBlocks compiler...
  19. Replies
    27
    Views
    2,938

    Good deal! I'll be back when I'm ready to start...

    Good deal! I'll be back when I'm ready to start coding for real. Will get a "C++ for Dummies" or other similar entry-level treatise in the meantime.

    Really appreciate everyone's patience with my...
  20. Replies
    27
    Views
    2,938

    jimblumberg: The other major ICs in this: ...

    jimblumberg: The other major ICs in this:

    8279 keyboard / display driver: I've already identified all the code pertaining to the calls to this IC, so it "shouldn't" be that difficult to replace...
  21. Replies
    27
    Views
    2,938

    My end goal? A proper C program, of course. I...

    My end goal? A proper C program, of course.

    I don't want something that needed to be brute-forced through a compiler, no! The end goal is a program that reads well and flows well. If I have to...
  22. Replies
    27
    Views
    2,938

    Here's a couple samples of the code as it stands...

    Here's a couple samples of the code as it stands now.

    Please keep in mind that I KNOW it is nowhere near proper formatting OR structure for C.

    My goal right now is transliteration: converting...
  23. Replies
    27
    Views
    2,938

    I've got the BRA conditionals changed to goto...

    I've got the BRA conditionals changed to goto statements, the BNE statements changed to !=, BEQ to ==, most of the BLE to <=...

    The BCC and BCS (and accompanying ASL / LSR statements) branches...
  24. Replies
    27
    Views
    2,938

    Here are a couple examples of BMI branches in my...

    Here are a couple examples of BMI branches in my code:


    LDA A msg23
    CMP A # 0x41
    BMI LB_FC23



    LDA B keyNum
  25. Replies
    27
    Views
    2,938

    That does, actually! Software-wise, omit the...

    That does, actually!

    Software-wise, omit the HC11's Y register and you have the equivalent of the CPU in question.

    Let's start off with the BPL / BMI conditionals and handling of signed...
Results 1 to 25 of 26
Page 1 of 2 1 2