Welcome, Guest. Please login or register.


Author Topic: American Poker II (Read 4193 times)

Offline Lacika

  • EP addict
  • *
  • Posts: 3191
  • Country: hu
    • http://www.ep128.hu
Re: American Poker II
« Reply #15 on: 2023.November.18. 12:45:05 »
Megnyomoma CTRL-t, kiakad a program? "NO ITNERRUPT OR TOO LONG", és utána csak csipog.

Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #16 on: 2023.November.20. 09:35:54 »
Megnyomoma CTRL-t, kiakad a program? "NO ITNERRUPT OR TOO LONG", és utána csak csipog.
Milyen konfigon próbáltad?
Az az érdekes, hogy a számlálóját az interrupt ellenőrzőnek meg kellett növelnem, de nekem azután soha nem jött elő.

Offline Lacika

  • EP addict
  • *
  • Posts: 3191
  • Country: hu
    • http://www.ep128.hu
Re: American Poker II
« Reply #17 on: 2023.November.20. 17:52:34 »
Sima EXDOS-os konfigban pár CTRL billentyű.
Snapshot segít?

Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #18 on: 2023.November.20. 18:36:10 »
Sima EXDOS-os konfigban pár CTRL billentyű.
Snapshot segít?
Köszi :)
1 dologban mindenképp, hogy kiderüljön a számláló értéke alacsony, vagy más a bibber.

Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #19 on: 2023.November.20. 19:25:36 »
Köszi, segített a snapshot, igaz nem abban, amire gondoltam, de abból látszott, hogy az LPT lett felülírva.
Te aztán szorgalmasan nyomkodhattad a controlt :D , mert sima FILE I/O config mellett vagy 50x megnyomva se történt semmi, így visszaállítottam a snapshotban az LPT-t, a PC-t átirányítottam 0000h-ra, ezzel egy restartot előidézve, és ott jópár gombnyomás után sikerült a hibát előidézni, ami teljesen config független.
Az történt, hogy sikerült egy olyan állapotot elkapni a control lenyomására, amikor a 2. videólap van belapozva, ez rövid ideig van csak belapozva, és mivel a "gép" újraindításakor nem lapozódik be az 1. videólap, így a képernyőtörlő rutin a 2. videólapot törölte le, amin csak az attributum képernyő alsó 4 sora van,ha az egész kép attributum módú, majd a legalsó action bar adata, majd  a képernyő alsó 4 szín módú sora, ami a játék kijelzője, és a lap legvégén az LPT.
Itt a javított verzió

*** Attachment removed, new version can be found in newer post.
*** Csatolmány törölve, új verzió megtalálható pár hozzászólással feljebb
« Last Edit: 2023.November.21. 18:15:18 by geco »

Offline SlashNet

  • EP addict
  • *
  • Posts: 1193
  • Country: ua
  • Enterprise 128K | Cubietruck
    • My old site about Enterprise
Re: American Poker II
« Reply #20 on: 2023.November.20. 20:25:50 »
In some cases game start with gray background card colour.
Didn't understand why.

[ Guests cannot view attachments ]


Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #21 on: 2023.November.21. 08:51:22 »
In some cases game start with gray background card colour.
Didn't understand why.

(Attachment Link)
Thx, i think i know the reason, I set the bias to 256 by EXOS in the loader, and it seems in some cases interrupt does not occur after bias set and before disabling interrupt, so bias 0 remains, i will fix it soon.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14723
  • Country: hu
    • http://enterprise.iko.hu/
Re: American Poker II
« Reply #22 on: 2023.November.21. 09:17:37 »
Thx, i think i know the reason, I set the bias to 256 by EXOS in the loader, and it seems in some cases interrupt does not occur after bias set and before disabling interrupt, so bias 0 remains, i will fix it soon.
I usualy put one HALT after EXOS variable sets:
Code: ZiLOG Z80 Assembler
  1.                 LD BC,100H+26   ;B=1 write
  2.                                 ;C=26 number of system variable (ST_FLAG)
  3.                 LD D,0          ;new value, 0=STATUS ON
  4.                 EXOS 16         ;handling EXOS variable
  5.                 LD BC,100H+28   ;B=1 write
  6.                                 ;C=28 number of system variable (BIAS_VID)
  7.                 LD D,255        ;new value, BIAS=255 then will be the
  8.                                 ;colors 8-15=248-255, bright colors
  9.                                 ;brown,red,green,yellow,blue,pink,cyan,white
  10.                 EXOS 16         ;handling EXOS variable
  11.                 LD BC,100H+27   ;B=1 write
  12.                                 ;C=27 number of system variable (BORD_VID)
  13.                 LD D,0          ;new value, 0=border will be black
  14.                 EXOS 16         ;handling EXOS variable
  15.                 HALT            ;wait one IRQ, for the EXOS irq routine
  16.                                 ;will write the new settings to the Nick

Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #23 on: 2023.November.21. 09:52:12 »
I usualy put one HALT after EXOS variable sets:
Sometimes i do it also :D , now i did not do it, the interrupts are enabled during memory allocation, and it seems sometimes this  period is too short.

Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #24 on: 2023.November.21. 18:14:00 »
Fixed Bias version

Offline Lacika

  • EP addict
  • *
  • Posts: 3191
  • Country: hu
    • http://www.ep128.hu
Re: American Poker II
« Reply #25 on: 2023.November.21. 22:29:38 »
Te aztán szorgalmasan nyomkodhattad a controlt :D , mert sima FILE I/O config mellett vagy 50x megnyomva se történt semmi,

Mekem harmadszorra "sikerült" :-)

Offline geco

  • EP addict
  • *
  • Posts: 7085
  • Country: hu
    • Támogató Támogató
Re: American Poker II
« Reply #26 on: 2023.November.21. 23:13:36 »
Mekem harmadszorra "sikerült" :-)
Ne tudd meg hányszor nyomtam controlt, mire sikerült :D :D , csoda, hogy még a helyén van :D