Jump to content

Toyota AE86

Member
  • Posts

    218
  • Joined

  • Last visited

Everything posted by Toyota AE86

  1. Hi. While trying to build one of these https://www.instructables.com/Single-Chip-AVR-BASIC-Computer/ I have ran into several problems. First of all when trying to compile I get these error messeges. Arduino:1.8.13 (Windows 10), Płytka:"ATmega1284, Yes (UART0), Standard pinout, EEPROM retained, 1284, BOD 2.7V, LTO disabled, Internal 8 MHz" In file included from C:\Users\Wiktor\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.0.8\cores\MCUdude_corefiles/Arduino.h:28:0, from sketch\AVR_BASIC_Computer_V0.1.ino.cpp:1: AVR_BASIC_Computer_V0.1:307:33: error: variable 'keywords' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static unsigned char keywords[] PROGMEM = { ^ AVR_BASIC_Computer_V0.1:399:33: error: variable 'func_tab' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static unsigned char func_tab[] PROGMEM = { ^ AVR_BASIC_Computer_V0.1:414:31: error: variable 'to_tab' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static unsigned char to_tab[] PROGMEM = { ^ AVR_BASIC_Computer_V0.1:419:33: error: variable 'step_tab' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static unsigned char step_tab[] PROGMEM = { ^ AVR_BASIC_Computer_V0.1:424:34: error: variable 'relop_tab' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static unsigned char relop_tab[] PROGMEM = { ^ AVR_BASIC_Computer_V0.1:444:36: error: variable 'highlow_tab' must be const in order to be put into read-only section by means of '__attribute__((progmem))' static unsigned char highlow_tab[] PROGMEM = { ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'void loop()': AVR_BASIC_Computer_V0.1:1309:13: error: 'disk1' was not declared in this scope val = disk1.read_byte(i); ^~~~~ AVR_BASIC_Computer_V0.1:1330:7: error: 'disk1' was not declared in this scope disk1.write( i, 0 ); ^~~~~ AVR_BASIC_Computer_V0.1:1661:13: error: 'disk1' was not declared in this scope val = disk1.read_byte( i ); ^~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'void setup()': AVR_BASIC_Computer_V0.1:1943:12: error: 'PAL' was not declared in this scope TV.begin(PAL, 720, 480); ^~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:1943:12: note: suggested alternative: '_PAL' TV.begin(PAL, 720, 480); ^~~ _PAL AVR_BASIC_Computer_V0.1:1944:25: error: invalid conversion from 'const unsigned char*' to 'uint8_t {aka unsigned char}' [-fpermissive] TV.select_font(font6x8); ^ In file included from C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:92:0: C:\Users\Wiktor\Documents\Arduino\libraries\TVout/TVout.h:103:7: note: initializing argument 1 of 'void TVout::select_font(uint8_t)' void select_font(uint8_t f); ^~~~~~~~~~~ AVR_BASIC_Computer_V0.1:1945:6: error: 'class TVout' has no member named 'set_hbi_hook' TV.set_hbi_hook(keyboard.begin()); ^~~~~~~~~~~~ AVR_BASIC_Computer_V0.1:1950:6: error: 'class TVout' has no member named 'println'; did you mean 'print_str'? TV.println( sentinel ); ^~~~~~~ print_str AVR_BASIC_Computer_V0.1:1954:3: error: 'disk1' was not declared in this scope disk1.setup(); ^~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'int inchar()': AVR_BASIC_Computer_V0.1:2035:9: error: 'disk1' was not declared in this scope v = disk1.read_byte(eepos++); ^~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'void outchar(unsigned char)': AVR_BASIC_Computer_V0.1:2094:7: error: 'disk1' was not declared in this scope disk1.write(eepos++, c); ^~~~~ AVR_BASIC_Computer_V0.1:2099:8: error: 'class TVout' has no member named 'print' TV.print((char)c); ^~~~~ exit status 1 variable 'keywords' must be const in order to be put into read-only section by means of '__attribute__((progmem))' Ten raport powinien zawierać więcej informacji jeśli w File -> Preferencje zostanie włączona opcja "Pokaż szczegółowe informacje podczas kompilacji" Also when i tried ot change those unasigned chars to const i get these error messeges. Arduino:1.8.13 (Windows 10), Płytka:"ATmega1284, Yes (UART0), Standard pinout, EEPROM retained, 1284, BOD 2.7V, LTO disabled, Internal 8 MHz" C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'short int expr4()': AVR_BASIC_Computer_V0.1:805:23: error: invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] scantable(func_tab); ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:505:13: note: initializing argument 1 of 'void scantable(unsigned char*)' static void scantable(unsigned char *table) ^~~~~~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'short int expression()': AVR_BASIC_Computer_V0.1:934:22: error: invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] scantable(relop_tab); ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:505:13: note: initializing argument 1 of 'void scantable(unsigned char*)' static void scantable(unsigned char *table) ^~~~~~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'void loop()': AVR_BASIC_Computer_V0.1:1166:21: error: invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] scantable(keywords); ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:505:13: note: initializing argument 1 of 'void scantable(unsigned char*)' static void scantable(unsigned char *table) ^~~~~~~~~ AVR_BASIC_Computer_V0.1:1309:13: error: 'disk1' was not declared in this scope val = disk1.read_byte(i); ^~~~~ AVR_BASIC_Computer_V0.1:1330:7: error: 'disk1' was not declared in this scope disk1.write( i, 0 ); ^~~~~ AVR_BASIC_Computer_V0.1:1404:21: error: invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] scantable(to_tab); ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:505:13: note: initializing argument 1 of 'void scantable(unsigned char*)' static void scantable(unsigned char *table) ^~~~~~~~~ AVR_BASIC_Computer_V0.1:1412:23: error: invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] scantable(step_tab); ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:505:13: note: initializing argument 1 of 'void scantable(unsigned char*)' static void scantable(unsigned char *table) ^~~~~~~~~ AVR_BASIC_Computer_V0.1:1661:13: error: 'disk1' was not declared in this scope val = disk1.read_byte( i ); ^~~~~ AVR_BASIC_Computer_V0.1:1697:26: error: invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] scantable(highlow_tab); ^ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:505:13: note: initializing argument 1 of 'void scantable(unsigned char*)' static void scantable(unsigned char *table) ^~~~~~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'void setup()': AVR_BASIC_Computer_V0.1:1943:12: error: 'PAL' was not declared in this scope TV.begin(PAL, 720, 480); ^~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:1943:12: note: suggested alternative: '_PAL' TV.begin(PAL, 720, 480); ^~~ _PAL AVR_BASIC_Computer_V0.1:1944:25: error: invalid conversion from 'const unsigned char*' to 'uint8_t {aka unsigned char}' [-fpermissive] TV.select_font(font6x8); ^ In file included from C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino:92:0: C:\Users\Wiktor\Documents\Arduino\libraries\TVout/TVout.h:103:7: note: initializing argument 1 of 'void TVout::select_font(uint8_t)' void select_font(uint8_t f); ^~~~~~~~~~~ AVR_BASIC_Computer_V0.1:1945:6: error: 'class TVout' has no member named 'set_hbi_hook' TV.set_hbi_hook(keyboard.begin()); ^~~~~~~~~~~~ AVR_BASIC_Computer_V0.1:1950:6: error: 'class TVout' has no member named 'println'; did you mean 'print_str'? TV.println( sentinel ); ^~~~~~~ print_str AVR_BASIC_Computer_V0.1:1954:3: error: 'disk1' was not declared in this scope disk1.setup(); ^~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'int inchar()': AVR_BASIC_Computer_V0.1:2035:9: error: 'disk1' was not declared in this scope v = disk1.read_byte(eepos++); ^~~~~ C:\Users\Wiktor\Downloads\AVR BASIC Computer V0.1 Firmware\AVR BASIC Computer V0.1 Firmware\AVR_BASIC_Computer_V0.1\AVR_BASIC_Computer_V0.1.ino: In function 'void outchar(unsigned char)': AVR_BASIC_Computer_V0.1:2094:7: error: 'disk1' was not declared in this scope disk1.write(eepos++, c); ^~~~~ AVR_BASIC_Computer_V0.1:2099:8: error: 'class TVout' has no member named 'print' TV.print((char)c); ^~~~~ exit status 1 invalid conversion from 'const unsigned char*' to 'unsigned char*' [-fpermissive] Ten raport powinien zawierać więcej informacji jeśli w File -> Preferencje zostanie włączona opcja "Pokaż szczegółowe informacje podczas kompilacji" Any idea how to fix those? Thank You for all answers
  2. Hi Some time ago I bought one of the OV7675 camera modules, and I was not able to find any tutorials showing how to use it except ones that involved using Arducam shield. My question is, is there any other way to connect this module to arduino directly, without using shields, and where could I find tutorials how to use those? Thank You for all answers
  3. Also i found this(attached) file in the system disk, it can be opened with notepad. I have spotted that there is Linus Torvald's name in it. COPYING.linux
  4. Hi I was planing to build myself a portable computer based around RPi Zero and RiscOS Pi and i was wondering if this os would have drivers needed to run mouse based on arduino leonardo? Thanks for all answers
  5. Hi I just wanted to ask if Ichigo Jam BASIC an OS for RPi, is based on Linux kernel. I found some kernel files on the system disk but i was not able to open them. Thanks for all answers
  6. I should have specified that by VLC media player equivalent i ment program for audio playback, my bad sry.
  7. Pentium III 128MB RAM, also it is not gonna be used as my main or anything like that, i just wanted to expirence DOS (Yes i know i could use virtual machine for DOS but it's not the same)
  8. Hi Recently i got an old Compaq on which i installed DOS 5. The system runs fine, but it lacks built in applications, becouse of that I would like to ask for help in finding DOS equivalents of according Windows applications: -Tiny CAD -GIMP -VLC media player -Microsoft Photos Also it would be nice if those DOS applications would be open source. Thanks for all answers
  9. Good day I was wondering if it is possible to use 2 GPU's at the same time one being NVIDIA GTX 1650 Super and the second being Intel HD Graphics 4000 from my i7-3770, i have one of my monitors connected to GTX via DP and i was planning to connect second monitor via D-SUB to Intel HD, hoever Intel HD does not even show in the Device Menager. Is there any possibility to use those two GPU's at the same time or should i try to obtain an adapter from HDMI to D-SUB. Thank you for all answers Yours faithfully Amforev
  10. I thought about using one of the earlier models such as Z10 or Leap, they are still using BlackBerry OS
  11. Hello Reacently i have decided that i want to swap my current phone (Nokia 515). I do not want a phone with Android, I have used it in the past and i do not like it. Also i would not like to buy apple products, becouse of their price. While serching the web i have found another alternatives which were BlackBerry Z10 and Leap. I would like to know if BlackBerry is a safe os (spectre meltodwn, security updates etc.) and which one should i choose. I will probably be using it to: browse the web, use messeging apps, create notes and listen to music. Thanks for all answers
  12. HI Could you pls tell me how to enable ironsights in MMod? Thanks for all answers
  13. Sorry but i do not come from England and i do not speak this language very well could you pls explain me what those shortcuts means?
  14. I am afraid this pc is going to be often used to work in office programs. Also i found in the comments of andropenoffice that you have to pay for Pro subscriction...... In open source app. And this app contains adds, office program with apps is not a good idea at all (in my opinion). So thanks for your engagment @SupaKomputa I appriciate what have you done, but I wont for sure buy android TV as my main PC.
  15. Thanks for advice but I am afraid that Android does not support for example Open Office and I have used android in the past (on phone) and it was not my favourite OS for sure.
  16. I found on Intels site that it's actually Celeron not Atom.
  17. Thanks for advise but I am 99.9% sure that I won't buy chromebook becouse of: -From what I know the chrome OS is based around Chrome which means: -I will have to have Internet connection to do almost everything on PC -From what I have heard chrome uses a lot of ram which lots of chromebooks does not have -I do not like chrome as browser, I much highly prefer Firefox -I already have keyboard, mouse ,display,etc. -Most of chromebook's are just too big.(too wide I dont have enough place on my desk) -I do not want to learn another OS
  18. Hi I would like to swap my current computer (Optiplex 755) for something smaller and less power-hungry. When browsing the web I came acros one of the cheap Intel NUC-s with Celeron N3060. So I was wondering if it will be capable of compleating light tasks such as: web browsing(for example watching YouTube), using office programms (such as Open Office), Playing media (mostly music [VLC media player])? Or maybe should I invest in some more money to buy for example on of the Intel STICK-s with m3?
  19. Hi When I try to launch Minecraft (java edition) this message appears: The game crashed whilst initializing game Error: java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL I suspect it is an driver's problem. Unfortunetly newest drivers on the hp site are made for windows 7 ( I am using windows 10[32bit]) and they does not work for me. Serching for these drivers by using Intel Drivers and Support Assistant did not work well either, becouse it was not able to find any drivers for it either. Is there any way to make windows 7 drivers work on windows 10 or could you help me in finding drivers for win10? Thanks for all answers.
  20. Hello I want to build myself a new pc and I have one question about case which I want to buy. Is the metal mounting for the PSU (marked on photo) somehow changable for one which will not stick from the cases back?
  21. Hi I heve recantly changed my motherboard, processor and RAM. The problem is that when I try to play HL2 there starts to appear black lines and rectangles in the top section of my screen, in WoT it looks quite the same. I have also noticed that when screen capturing is turned on in OBS the lines don't show. I am using Windows 10, 8GB RAM and Pentium g3260 with its integrated GPU.
×