This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BACKGROUND_COLOR = $5100 ; assign the background color | |
| BACKGROUND_SCROLL_X = $5101 | |
| BACKGROUND_SCROLL_Y = $5102 | |
| ; write to chr rom | |
| CHR_COL = $5103 | |
| CHR_ROW = $5104 | |
| CHR_PIXEL = $5105 | |
| INPUT = $5106 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; How indirect mode works | |
| ; first we write an address in the first two bytes of the zeropage | |
| ; we are working with $4240 | |
| ; first the low byte ($40) | |
| LDA #$40 ; load low byte in accumulator | |
| STA zeropage_byte0 ; store low byte (from the accumulator) in the first byte of the zero page | |
| ; NOTE: we can optimize using a zeropage write: STA <zeropage_byte0 (with < symbol meaning the low byte of a 16bit number) | |
| ; then the high byte of the address | |
| LDA #$42 ; load high byte in accumulator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <exception> | |
| class VulkanApp | |
| { | |
| public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <exception> | |
| class VulkanApp | |
| { | |
| public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <exception> | |
| class VulkanApp | |
| { | |
| public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <exception> | |
| int main(int argc, char **argv) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <exception> | |
| int main(int argc, char **argv) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <vector> | |
| #include <iostream> | |
| #include <exception> | |
| int main(int argc, char **argv) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Data.SQLite; | |
| using System.Data.Linq; | |
| using System.Data.Linq.Mapping; | |
| namespace LearningDB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Aiv.Fast3D; | |
| using Aiv.Fast2D; | |
| using OpenTK; | |
| namespace LearningNormalMap |