Search found 36 matches

by frenchguy
Fri Oct 09, 2020 5:10 pm
Forum: General Discussion
Topic: Foenix IDE - Rev C
Replies: 17
Views: 962

Re: Foenix IDE - Rev C

The mouse button data is provided in the first PS/2 byte written to the keyboard buffer. What you need to do is: * when the byte counter is 0, do an "AND $7" - this will give the you status of the buttons. * store this for your program to use when appropriate. 4 = middle button 2 = right button 1 =...
by frenchguy
Thu Oct 01, 2020 8:14 pm
Forum: General Discussion
Topic: Foenix IDE - Rev C
Replies: 17
Views: 962

Re: Foenix IDE - Rev C

Mouse interrupts are now supported in release 0.5.2.3 of the IDE. https://github.com/Trinity-11/FoenixIDE/releases/tag/release-0.5.2.3 Great! Is the documentation up to date? I'd like to use the interrupts to manage the mouse clicks but I have not yet found where to read button states (?) In an oth...
by frenchguy
Wed Sep 16, 2020 1:47 am
Forum: General Discussion
Topic: Foenix IDE - Rev C
Replies: 17
Views: 962

Re: Foenix IDE - Rev C

Hi, Is there support for mouse implemented in the IDE ? I do not get break on mouse interrupt. I also do not see modification in the reg0 about the mouse interrupt. I am using the IDE with default provided Kernel, and start the kernel before load and running my program. And is it compatible with 80...
by frenchguy
Mon Sep 14, 2020 1:57 pm
Forum: General Discussion
Topic: Foenix IDE - Rev C
Replies: 17
Views: 962

Re: Foenix IDE - Rev C

Hi, Is there support for mouse implemented in the IDE ? I do not get break on mouse interrupt. I also do not see modification in the reg0 about the mouse interrupt. I am using the IDE with default provided Kernel, and start the kernel before load and running my program. And is it compatible with 800...
by frenchguy
Wed Feb 05, 2020 10:44 am
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 10543

Re: Foenix IDE

@frenchguy I just watched your graphics tests videos and they look awesome! If you don't mind, I've 2 questions for you: 1. Could you please do a short tutorial on developing for C256 in C? Like setting up the compiler and a hello-world example. 2. Will you be making your graphics library open-sour...
by frenchguy
Wed Feb 05, 2020 10:37 am
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 10543

Re: Foenix IDE

Hi ! Still working on my graphic/UI library with the IDE and Simulator, I try to manage interrupts. For the moment I deal with keyboard interrupts. If I understood well, when a keyboard event happens the INT_PENDING_REG1 ($000141) register should be $01 (bit 0 set). But when watching at $000141 in ...
by frenchguy
Fri Jan 24, 2020 11:45 am
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 10543

Re: Foenix IDE

Hi ! Still working on my graphic/UI library with the IDE and Simulator, I try to manage interrupts. For the moment I deal with keyboard interrupts. If I understood well, when a keyboard event happens the INT_PENDING_REG1 ($000141) register should be $01 (bit 0 set). But when watching at $000141 in t...
by frenchguy
Mon Dec 16, 2019 11:28 am
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 10543

Re: Foenix IDE

Thanks for the explanation. I understand better the long adressing mode. Indeed it has something to do with that. In fact the C compiler produced a good assembly for the program that worked, but since it produced something very different, even when the C code is exactly the same. Maybe some configur...
by frenchguy
Fri Dec 13, 2019 11:37 pm
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 10543

Re: Foenix IDE

Hi, First, apologize if what I will say is wrong because I'm absolutly bad in assembly... Since several days I am chasing a strange bug that appeared in my test app written in C. But I don't know why, because I have checked and re-checked my code and I do not see what could be wrong, I even have not...
by frenchguy
Wed Dec 04, 2019 2:09 pm
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 10543

Re: Foenix IDE

:o :o :o OMG !! I have just finished to implement and test a rectangle filling function using the VDMA and it's... amazing!! ("à la" Apple keynote, lol). Drawing 300 filled rectangles is almost instantaneous in the simulator. I will post a short video when I will have time. That sounds very good for...