Macro for division #5
Replies: 13 comments
-
Sorry for the late answer... I agree, could be a good starting point a math section. Do you plan to use some methods provided by the kernal? |
Beta Was this translation helpful? Give feedback.
-
I could not find a routine for math division in the kernel. I was thinking of adding a new macro to math-global.asm and math.asm in the common library. I was not sure if you already had this in mind to do. If not, I can do a pull request and add the macro. I may need to use the division macro in the framework library. |
Beta Was this translation helpful? Give feedback.
-
Ok proceed with add/pull request, there's no plan for common right now
Il gio 12 gen 2023, 17:52 John Palermo ***@***.***> ha
scritto:
… I could not find a routine for math division in the kernel. I was thinking
of adding a new macro to math-global.asm and math.asm in the common
library. I was not sure if you already had this in mind to do. If not, I
can do a pull request and add the macro. I may need to use the division
macro in the framework library.
—
Reply to this email directly, view it on GitHub
<https://github.com/orgs/c128lib/teams/c128lib-dev-team/discussions/5/comments/2>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6EJ7FVQX2JNGVPWN3U7D3WSAZFZANCNFSM6AAAAAATWVUQWI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
There are two macros planned (for cursor move and string output, so no math is involved). |
Beta Was this translation helpful? Give feedback.
-
Sounds good. I will do it this weekend. Very rough week at work.
…------- Original Message -------
On Friday, January 13th, 2023 at 7:09 AM, Raffaele Intorcia ***@***.***> wrote:
There are two macros planned (for cursor move and string output, so no math is involved).
These two are tagged for version 0.6.0. You can add you macro to math*.asm (and tag it with 0.6.0) so we can release this new version.
—
Reply to this email directly, [view it on GitHub](https://github.com/orgs/c128lib/teams/c128lib-dev-team/discussions/5/comments/4), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AUJD72KBKQE3M5ZUOF4S5FDWSFAV5ANCNFSM6AAAAAATWVUQWI).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry for the late response. I'm creating a fork now and will create a pull request once code is done. |
Beta Was this translation helpful? Give feedback.
-
Hello. I have created an issue to add 2 new macros for division - 16-bit/8-bit and 16-bit/16-bit. You can assign it to me and label as enhancement. Thanks. |
Beta Was this translation helpful? Give feedback.
-
hi John, issue c128lib/common#9 updated as your request, but i've a question for you. I need to understand if there is something missing on permission grant on repositories (i want developer to be autonomous, no need for me to grant something, no need for developer to wait for me) so:
|
Beta Was this translation helpful? Give feedback.
-
Ciao Raffaele,
No reason. It’s the way I know how to do it, but I think that your way sounds better. I will do it as you have suggested.
So, should I create issue in repository, then create branch, etc? I tried to update the issue I created, but I could only update the name and description. I couldn’t assign a label or a developer.
… Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I usually
create an issue
Start a new branch with issue id
Commit and push on that branch
Pull request to master
While working on branch, i usually edit issue by adding branch I'm working
on so every commit/push is automatically linked.
When pull request is closed, i delete issue branch.
I've edited some organization access rules (i didn't fully understand) so
check if you can update your issue.
I think I'll create an "how to" with my best practice, adding also
extensions for VsCode which is quite helpful for me.
Il dom 22 gen 2023, 18:24 John Palermo ***@***.***> ha
scritto:
… Ciao Raffaele,
No reason. It’s the way I know how to do it, but I think that your way
sounds better. I will do it as you have suggested.
So, should I create issue in repository, then create branch, etc? I tried
to update the issue I created, but I could only update the name and
description. I couldn’t assign a label or a developer.
> Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<https://github.com/orgs/c128lib/teams/c128lib-dev-team/discussions/5/comments/9>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6EJ7BHIYVJZ5YJL4METKLWTVUMBANCNFSM6AAAAAATWVUQWI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Understood. I will use the VSCode GitHub extension. I agree that this is a better way. I will create the branch from the issue using VSCode. Then commit and push on that branch as you have mentioned. Basically, I will follow your steps. They are clear to me. Yes, I think a "how to" is good. People use different approaches and even use git cli, but it's good to be consistent with everyone on the team. Yes, the issue is now editable for me. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Ok, i've created a first version of "best practice", it's availabel in c128lib project documentation. Direct link https://c128lib.github.io/bestpractice I need to complete with pull request paragraph |
Beta Was this translation helpful? Give feedback.
-
Pull request created and ready to merge into master. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
I was looking a the math library and did not see a macro for division of 2 integers. @intoinside @c128lib/c128lib-dev-team I think it would be good to include it. Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions