Started by cpcitor, 01:09, 25 May 21
0 Members and 1 Guest are viewing this topic.
out &bc00,4 : out bd00, &1f # (0x1F+1)*8 lines = 256out &bc00,7 : out bd00, &1b # Adjust vertical position# ROM does this:out &bc00,5 : out bd00, &6 # +6 = 262. 15625Hz (line frequency) / 262 = 59.63Hz# firmware documentation says it should have been 4out &bc00,5 : out bd00, &4 # +4 = 260. 15625Hz (line frequency) / 260 = 60.096Hz
;----------------------------------------------------------------; RST 0 - LOW: RESET ENTRY0000 01897f ld bc,$7f89 ; select mode 1, disable upper rom, enable lower rom 0003 ed49 out (c),c ; select mode and rom configuration0005 c39105 jp $0591(...)0591 f3 di 0592 0182f7 ld bc,$f7820595 ed49 out (c),c0597 0100f4 ld bc,$f400 ;; initialise PPI port A data059a ed49 out (c),c059c 0100f6 ld bc,$f600 ;; initialise PPI port C data ;; - select keyboard line 0 ;; - PSG control inactive ;; - cassette motor off ;; - cassette write data "0"059f ed49 out (c),c ;; set PPI port C data05a1 017fef ld bc,$ef7f05a4 ed49 out (c),c05a6 06f5 ld b,$f5 ;; PPI port B inputs05a8 ed78 in a,(c)05aa e610 and $10 05ac 21d505 ld hl,$05d5 ;; end of CRTC data for 50Hz display05af 2003 jr nz,$05b4 05b1 21e505 ld hl,$05e5 ;; end of CRTC data for 60Hz display;; initialise display;; starting with register 15, then down to 005b4 010fbc ld bc,$bc0f05b7 ed49 out (c),c ; select CRTC register05b9 2b dec hl05ba 7e ld a,(hl) ; get data from table 05bb 04 inc b05bc ed79 out (c),a ; write data to selected CRTC register05be 05 dec b05bf 0d dec c05c0 f2b705 jp p,$05b7;; continue with setup...05c3 1820 jr $05e5 ; (+$20);; CRTC data for 50Hz display05c5 defb &3f, &28, &2e, &8e, &26, &00, &19, &1e, &00, &07, &00,&00,&30,&00,&c0,&00;; CRTC data for 60Hz display05d5 defb &3f, &28, &2e, &8e, &1f, &06, &19, &1b, &00, &07, &00,&00,&30,&00,&c0,&00
Quote from: roudoudou on 09:10, 25 May 21As MANY CPC productions are neither 50Hz nor 60Hz, maybe a free-sync support?
Quote from: roudoudou on 11:25, 25 May 21The Abduction of Oscar Z, 20350 nops between each frame in the menu => 49.14HzExamples are numerous
Quote from: TotO on 11:49, 25 May 21Well...If you really want to display the CPC correctly in an emulator, you just have to either display in 100Hz (like SugarBox does)
Quote from: TotO on 11:49, 25 May 21Youtube can display 50Hz recording too.
Quote from: TotO on 11:49, 25 May 21Why we have to make 60Hz on a machine, which will therefore penalize users of real CPCs, to have to turn the dial behind their CTM each time it is necessary to change frequencies, to please people who use and program for emulators... We walk on the head.
Quote from: TotO on 11:49, 25 May 21Most PCs and other tablets / smartphones will be freeSync in the near future, so it's a sword in the water.
Quote from: TotO on 11:49, 25 May 21As a reminder, running a program at 60Hz also means reducing the number of scanlines to display to keep the same machine time per frame.
Quote from: TotO on 11:49, 25 May 21Finally, if you want to see what 60Hz gives in a game on CPC, just launch Pac-Man Emulator which allows to toggle between 50Hz/60Hz by pressing SPACE from the service menu (TAB).
Quote from: roudoudou on 19:29, 26 May 21freesync/gsync is the obvious solution for emulator. It's not to CPC coders to do the jobfor youtube video, this must be a player problem, not an upload problem
Quote from: cpcitor on 22:10, 26 May 21Failure to grap this just results in prods looking jerky compared to other 8bit machines that natively do 60fps and produces a poor impression of the CPC compared to other 8bit machines.
QuoteMechanically, in this case the prod must support 60Hz.
QuoteI really don't want to adjust the monitor every time, just because otherwise I can't run the demo. I would probably simply not do it - maybe unless it's mind blowing. But 20% less cpu cycles per frame might not be the best guarantee to get something mind blowing. So with a switch to 60Hz we would end up with less impressive demos that are optimised for people that don't care anyway.
QuoteYoutube supports 50Hz, also Twitch does. It's a matter of if you CARE to make the right settings.
QuoteYoutube e.g. recommends to upload videos with the frequency of the original source and if you check the official demo videos on Youtube you will see, that they mostly are recorded at 720p@50 or 1080p@50Hz. There is probably a good reason for this.
Page created in 0.224 seconds with 41 queries.