mirror of
https://github.com/fruit-bat/pico-zxspectrum.git
synced 2025-04-19 00:04:01 +03:00
Display Vcore
This commit is contained in:
parent
f12795c004
commit
7767cbe304
@ -6,7 +6,7 @@
|
||||
#include "hardware/irq.h"
|
||||
#include "hardware/sync.h"
|
||||
#include "hardware/gpio.h"
|
||||
#include "hardware/vreg.h"
|
||||
#include "PicoCoreVoltage.h"
|
||||
#include "hardware/structs/bus_ctrl.h"
|
||||
#include "hardware/dma.h"
|
||||
#include "hardware/uart.h"
|
||||
@ -357,8 +357,7 @@ void __not_in_flash_func(main_loop)() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
vreg_set_voltage(VREG_VSEL);
|
||||
sleep_ms(10);
|
||||
pico_set_core_voltage();
|
||||
|
||||
// Run system at TMDS bit clock
|
||||
set_sys_clock_khz(DVI_TIMING.bit_clk_khz, true);
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "pico/stdlib.h"
|
||||
#include "pico/multicore.h"
|
||||
#include "hardware/vreg.h"
|
||||
#include "PicoCoreVoltage.h"
|
||||
#include "hardware/pwm.h"
|
||||
|
||||
#include "pzx_keyscan.h"
|
||||
@ -244,8 +244,7 @@ void __not_in_flash_func(main_loop)(){
|
||||
}
|
||||
|
||||
int main(){
|
||||
vreg_set_voltage(VREG_VSEL);
|
||||
sleep_ms(10);
|
||||
pico_set_core_voltage();
|
||||
|
||||
ZxScanlineVgaRenderLoopInit();
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "pico/stdlib.h"
|
||||
#include "pico/multicore.h"
|
||||
#include "hardware/vreg.h"
|
||||
#include "PicoCoreVoltage.h"
|
||||
#include "hardware/pwm.h"
|
||||
|
||||
#include "pzx_keyscan.h"
|
||||
@ -245,8 +245,7 @@ void __not_in_flash_func(main_loop)(){
|
||||
}
|
||||
|
||||
int main(){
|
||||
vreg_set_voltage(VREG_VSEL);
|
||||
sleep_ms(10);
|
||||
pico_set_core_voltage();
|
||||
|
||||
ZxScanlineVgaRenderLoopInit();
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "pico/stdlib.h"
|
||||
#include "pico/multicore.h"
|
||||
#include "hardware/vreg.h"
|
||||
#include "PicoCoreVoltage.h"
|
||||
#include "hardware/pwm.h"
|
||||
#include "hardware/clocks.h"
|
||||
|
||||
@ -243,8 +243,8 @@ void __not_in_flash_func(main_loop)(){
|
||||
}
|
||||
|
||||
int main(){
|
||||
vreg_set_voltage(VREG_VSEL);
|
||||
sleep_ms(10);
|
||||
pico_set_core_voltage();
|
||||
|
||||
// Init 16 bit VGA
|
||||
ZxScanlineVgaRenderLoopInit();
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "pico/stdlib.h"
|
||||
#include "pico/multicore.h"
|
||||
#include "hardware/vreg.h"
|
||||
#include "PicoCoreVoltage.h"
|
||||
#include "hardware/pwm.h"
|
||||
|
||||
#include "ps2kbd.h"
|
||||
@ -255,8 +255,7 @@ int main(){
|
||||
gpio_init(LED_PIN);
|
||||
gpio_set_dir(LED_PIN, GPIO_OUT);
|
||||
|
||||
vreg_set_voltage(VREG_VSEL);
|
||||
sleep_ms(10);
|
||||
pico_set_core_voltage();
|
||||
|
||||
ZxScanlineVgaRenderLoopInit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user