cpcdos

FRANCE [Lyon], 13.02.2015, 08:02 |
[Freebasic] Screen function block ISR (Developers) |
Hello all 
I have a problem with Screen or Screenres function on freebasic 1.01
I launch my program with standard screen of FreeDos, the ISR timer work perfectly, but if SCREEN or SCREENRES is called, the ISR runtime is blocked .....
for resolve my problem, I must re-create another ISR, but this is not that I want ...
A solution ? Can you help me ?
Thank 
PS: Exuse me for my English level, I'm French a student  --- Sébastien FAVIER
ps: Excuse me for my English level, I'm a French student |
marcov
13.02.2015, 10:53
@ cpcdos
|
[Freebasic] Screen function block ISR |
> I have a problem with Screen or Screenres function on freebasic 1.01
>
> I launch my program with standard screen of FreeDos, the ISR timer work
> perfectly, but if SCREEN or SCREENRES is called, the ISR runtime is blocked
Sounds like FB doesn't properly chain the ISR by jumping to the already registered routine at the end of the ISR. File a bug? |
Laaca

Czech republic, 13.02.2015, 16:33
@ marcov
|
[Freebasic] Screen function block ISR |
> Sounds like FB doesn't properly chain the ISR by jumping to the already
> registered routine at the end of the ISR. File a bug?
Yes but anyway - timer ISR setting before videoengine setting seems to be a little bit risky for me. I would prefer to setup whole graphics first and timer then. --- DOS-u-akbar! |
cpcdos

FRANCE [Lyon], 14.02.2015, 13:47
@ Laaca
|
[Freebasic] Screen function block ISR |
> > Sounds like FB doesn't properly chain the ISR by jumping to the already
> > registered routine at the end of the ISR. File a bug?
>
> Yes but anyway - timer ISR setting before videoengine setting seems to be a
> little bit risky for me. I would prefer to setup whole graphics first and
> timer then.
Thank you for your replys
I can't setup graphics before timer, because, the user of my program (in execution) can change screen resolution manually :/
This is my FreeBaic code :
http://www.freebasic.net/forum/viewtopic.php?f=4&t=23297
I use fb_isr_set, fb_isr_reset, fb_isr_get OF FREEBASIC
I think that Screen function is "relied" with this.
If I code my ISR timer with Djgpp in C, and compile in a .A library, and compile with my program who use Screen function, you think that this can work ?
I can test this tomorrow
Best regards --- Sébastien FAVIER
ps: Excuse me for my English level, I'm a French student |
cpcdos

FRANCE [Lyon], 17.02.2015, 13:02
@ marcov
|
[Freebasic] Screen function block ISR |
> > I have a problem with Screen or Screenres function on freebasic 1.01
> >
> > I launch my program with standard screen of FreeDos, the ISR timer work
> > perfectly, but if SCREEN or SCREENRES is called, the ISR runtime is
> blocked
>
> Sounds like FB doesn't properly chain the ISR by jumping to the already
> registered routine at the end of the ISR. File a bug?
Hi,
I was written my ISR library in C and, compile this with GCC (.a), I have include this in my Freebasic program (C import) and this Work when I change my screen resolution
Thank's you all --- Sébastien FAVIER
ps: Excuse me for my English level, I'm a French student |