#ide interface
Explore tagged Tumblr posts
techav · 2 months ago
Text
On Making Progress
With my Wrap030 homebrew computer operational again, I could finally get back to the work I had been wanting to do with it in the first place. I was able to get it running my multi-user BASIC kernel from ROM with the main board, DRAM card, and 8-port serial card.
There's still more work I want to do with software, and pulling and burning the ROM for every little change is not a great way to develop software. It would be great if I could load programs from a disk instead. I did previously have disk access working, but that was with a different system configuration and a different ROM. There was also a limitation with my old code where files that spanned multiple clusters didn't load right.
So I needed to test the system with the FPU+IDE mezzanine board added to the stack, and I needed to add disk load functions to my ROM.
Adding the FPU board went better than expected. I added it to the stack and the system continued running as it had previously. I didn't even have to lower the clock speed to compensate for the new board.
So time to update that ROM. My previous disk load functions were written to work with the TSMON monitor program I had been using. I wanted something that could load my Multibasic system (or another OS) without intervention, so TSMON was not going to be a good fit. All I really needed was a simple bootloader — something that could load a file, BOOT.BIN, from the disk and run it.
Rather than try yet again to wrap my head around parsing FAT filesystem headers and how to traverse the allocation table, I decided to try using an existing library. The Elm-Chan FatFs library was just the thing I needed. It's written to be portable, needs only a few custom functions implemented by the host system for disk sector reads, and documented reasonably well. I was able to get it running in a weekend, including all the time it took for me to debug my own silly mistakes like reading only 510 bytes of each disk sector instead of 512 and accidentally swapping bytes when caching data read from the disk.
Getting Multibasic ready to run from disk instead of from ROM was actually fairly straightforward since it was already built to be loaded from ROM to RAM and then run from there. I just needed to make a few minor changes to the linker script and add a branch at the beginning of its vector table.
Tumblr media
So after many hours of work, I am right back where I was at the start … but also miles ahead of where I started. If I need to make a change to the Multibasic kernel, I can just copy the new program to a CompactFlash card like any other file. If I want to load a new program I can do so easily. And swapping programs is as easy as swapping cards and hitting Reset.
10 notes · View notes
kaiserouo · 7 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
let them use social media
334 notes · View notes
catinflight · 1 year ago
Text
Recently I learned that my computer does not render scenes very well
Even though I'm not very happy with how it turned out, I figured I might aswell share since it took me about two and a half days just to render the thing,
(it was supposed to be a simple looping animation, and I wanted to focus more on the background, but apparently, my computer doesn't handle that stuff well)
I am very tired right now, if it wasn't already obvious, lol
35 notes · View notes
d-dantes · 2 months ago
Text
My AO3 is linked to my pinned by my bsky is just ttomuras.bsky.com if u wanna follow < 3
9 notes · View notes
eyes-0f-etro · 7 days ago
Text
today I messed around in vocaloid 2 (vocaloid 2 Miku dark is my FAVORITE) and made Miku sing rudimentary Japanese phrases I learned in school and it was tiny but I did it and I'm proud of myself. making music in any capacity is my biggest dream but I don't ever take steps towards that goal because I don't know where to start and I'm scared. but today showed me I can do it and it's more accessible than I thought!!!
#i was thinking about how when you're ten and learning to play the recorder in school the first song you learn is hot cross buns#so. i went and made miku sing hot cross buns (hatto kurasu bansu) just to like. interface w the software#because id never opened it until now. because i was scared and didn't know how to use it#but i was always be scared and i will NEVER know how to use it if i never open it!! so i did! and it was fine#then i had miku sing wastashi no namae wa miku desu~ and then ongaku wa suki desu and i actually ended up really liking the melody#i made up for the second line. and i was like I CAN WRITE MUSIC! ANYONE CAN WRITE MUSIC! YOU CAN DO IT BUG!!!!#just gotta try!!!! try is how you learn!!!!! ahhh!!!!#anyways. my first project is making a cover of aegen and my big goal project is to make a cover of the entirety of three cheers#buggie sounds#tuning is not as scary as i thought! idk if im doing it all the way right but it was fun :-)#i really am going to have to redownload a DAW though......#DAWs are fucking scary i dont like them. i used to (try to) make beats in FL studio a decade ago and. idk#daws are strange beasts that bite. not like my kind and simple video editor (side eyes adobe after effects)#i am nervois about doing an actual cover bc i am not sure how capturing a song's vocals will go but.... I'll cross that bridge later#just glad i opened it and tried :-) yippee!#maybe for my first song itll just be japanese 101 and thats like. the schtick.#where is the train station? it is 3pm now. today is sunday. will we go to the ocean tomorrow? i drank coffee this morning. etc
5 notes · View notes
113457 · 6 months ago
Text
i've seen people say that the Blood Tree used to have tire swings on it, rather than the square "talismans" that it currently has, which i don't specifically remember seeing... after finding them in older gameplay videos, the truth is stranger.
here's a screenshot of an apparent tire swing in the tundra (from this video, from early 2020):
Tumblr media
here's my own screenshot from the same place in emuFer.al, you can see how this was replaced with the more regular rectangular talismans:
Tumblr media
however that round thing is certainly not a tire swing, it has six spokes along the side, just like the statues seen in Lakeroot Valley:
Tumblr media Tumblr media
this further draws ties between the Tundra and Lakeroot, both of whose endemic species are Kobolds. (For extratextual info, the lore document states that the Tundra used to be a city connected to Lakeroot, but was severed from the land in order to prevent its curse from spreading.)
(here's another screenshot from another video, showing more round structures with spokes:)
Tumblr media
EDIT: I forgot but those statues are found in Mugmyre as well.
Tumblr media Tumblr media
8 notes · View notes
iwrotemrtambourineman · 23 days ago
Text
worst ai integrated thing in my honest and correct opinion is the inline predictive text that takes any space or tab as proof that you want the gobbledygook its throwing in front of you put into your paragraph
2 notes · View notes
sevicia · 1 year ago
Text
I wanted to make a cleaner summary of last week's classes and also review the classes I have this week since the material is already uploaded beforehand but I was feeling so horrible throughout the day that when I sat down I was just gonna look at the ones for tomorrow but I think I'm just gonna go to bed because I just gave my little numbers game a few tries and not even the joy of tribial elementary school-level math games is bringing my brain cells and/or full sentience back
#diary#accessing it through the CMD thing and not just running it from the IDE made me realize a few things about it though so I'll hav#I'll have to maybe jot them down somewhere when I'd normally just be rly excited and try to fix them straight away like I am truly fucked r#I do wanna make an eng version of it sometime soon so I can share it even tho it's literally the simplest little thing. it's fun if you're#an easily amused nerd that loves playing with numbers in a truly useless manner. if that makes sense#also very obviously text-only I am NOT torturing myself with any graphics of ANY kind rn#it closes immediatly as they do and also when it comes to having double/triple digit starting numbers it becomes a lot less fun I think tho#though I haven't used it much with those yet#I still wanna figure out a way of making it better when it comes to 2/3 digit starters. and my original idea included maybe keeping track#keeping track of how many steps you took even between different rounds but I made the simplest version for now. I also think making like a#''this was the least amount of steps possible!'' type thing would be very very cool but that is FAR too big brained for me rn#cause I can figure out how to do the record keeping thing but that last one is like. let's stop talking for a little while.................#oh but adding an actual interface sounds so fun even though I have very little clue on how to do that rn I could probably STOP typing becau#because I can feel my stupid ass self start getting excited about this which will make it so I start working on it instead of going to bed#NO. DOWN !!!!!!!!!!!!!! auhgh............ oh man I had a lame joke to make but I completely forgot what it was#I have coding class tomorrow in which I normally just do the exercises as fast as possible before playing around but the only Python editor#I could find installed on the school computers was Visual Studio Code and I have no clue how to use that shit like I don't need so many#so many buttons. probz. OKAY GOODNIGHT
3 notes · View notes
yatiso · 2 years ago
Text
yesterday i put an acoustic guitar on layaway and today my monies came thru so i bought it.. then after… i got a call from the only other job id ever quit this one for to schedule an interview… the world is such a strange and beautiful place
7 notes · View notes
techav · 1 year ago
Text
Revisiting Wrap030 Disk Access
Tumblr media
I have more ideas for projects than time or budget to work on them. Already this year I've gone completely through the design process for two new large homebrew projects that are currently too large for my project budget, plus a few small ones I never got around to ordering. So rather than spend more than I should taking on a new project, I decided to revisit an existing one.
It's been over a year since I last worked on the original Wrap030 project — my old stack-of-boards MC68030 system. Its current configuration includes the main board with CPU, ROM, RAM, UART, & glue logic; a hand-wired breakout board to add a second UART; a custom video output board; and a mezzanine board with FPU and provision for an IDE disk that is not yet working. It has been functional in this configuration since last February.
My goal for this project from the beginning was to build something capable of running a proper operating system, like Unix System V or Linux. To do that though, I'm going to need to get disk access working.
I had started on disk access, but didn't quite have it functional when I turned my focus to integrating all of boards into the single Wrap030-ATX motherboard. I had added IDE cycles to the CPLD on the mezzanine board, and had added a few rough drafts of disk functions to my ROM. I set the project aside when I realized my function for checking dish presence was reporting a disk was present when there wasn't one.
I have worked with IDE before — my original 68000 project had an IDE port on it. I had gotten that project to the point where I could read a sector of data from the disk, but never could wrap my head around how to actually navigate even a simple file system like FAT16. It was this code that I had adapted for Wrap030, so when it didn't work, I assumed it was a problem with my logic.
Turns out I had just inadvertently clobbered a register in the disk check function. The logic worked just fine. I was able to write a couple quick BASIC programs to read a sector of data and even run code from the boot sector.
Tumblr media Tumblr media
My assembly function for reading data from disk however was still not working.
I tried rewriting it.
I tried rewriting it in C instead of assembly.
I tried again, and again, and again. I added delays and loops and print statements and everything I could think of. I scoured datasheets, read though all the different release versions of the ATA specification, ported code from other projects, looked at every example of reading from an IDE disk I could find.
No matter what I did, I always got the same result.
Tumblr media
This did not make any sense. Reading from an IDE disk involves setting up the sector address, the number of sectors to transfer, sending a read command, and then reading the IDE data port 256 times per sector. Each time the data port is read, the disk will give another 16-bit word of data. But for some reason, all I was getting was the first word of data returned 256 times.
There is nothing in the specification to explain this.
I knew there was nothing wrong with my logic, because I could read the data just fine with my BASIC program or by manually poking the right addresses using the monitor. Maybe there was some edge case affecting timing when running in assembly, but even adding delay loops and print statements didn't have any effect.
I reached out for help. I got great feedback on my read functions and my timing and how IDE and CompactFlash cards worked, but still could not solve this problem.
But then @ZephyrZ80 noticed something —
Tumblr media
I had shared my code and was explaining that I had added some extra NOP instructions to enforce minimum time between IDE access cycles in PIO-0 mode. At 25MHz with cache enabled, the 68030 can complete an instruction in as little as 80ns, so a few NOPs would ensure enough time elapsed between cycles.
With cache enabled.
… cache enabled.
… cache.
The 68030 has 256 bytes of data cache. My disk read function is running in a tight loop that only really hits a few addresses; not nearly enough to invalidate and flush the entire 256 bytes of cache. The CPU does have a cache inhibit signal to use with peripherals that return new data on subsequent access to the same address, but it turns out I was only asserting it when accessing the UART on the main board.
It's a simple enough hypothesis to test. When I initially added support in my ROM for enabling cache at startup, I included user functions for enabling and disabling cache.
Tumblr media
… It was cache all along.
Now I need to add some way to inhibit cache while accessing the IDE port, and then I can move on to trying to use the disk for loading programs.
41 notes · View notes
intervalart · 2 years ago
Text
what do you mean tumblr won't let you copy/paste ALT text on mobile
2 notes · View notes
prateekcmi · 11 days ago
Text
Software Development Market Anticipated to Grow Owing to Digital Transformation
The Software Development Market offers a spectrum of solutions ranging from custom application development and enterprise resource planning (ERP) software to mobile apps, cloud-native platforms, and DevOps toolchains. These products streamline workflows, automate business processes, and enable real-time analytics, driving operational efficiency and improving time-to-market. Organizations leverage these solutions to enhance customer engagement, scale infrastructure dynamically, and reduce total cost of ownership.  
Get More Insights on Software Development Market https://www.patreon.com/posts/software-market-131141770  
Tumblr media
0 notes
beneaththebloodylake · 2 months ago
Text
if my computer cathes fire cause of a badly confugured version of a bloody pirated video game im going to fucking kill someone
0 notes
idsmartcards · 3 months ago
Text
Dual Interface Cards: The Future of Smart Transactions
Tumblr media
Dual Interface Cards are revolutionizing the way we make digital transactions by combining both contact and contactless technologies in a single smart card. These advanced cards allow users to either tap or insert them, making payments and data transfers more convenient, secure, and flexible. Whether for banking, access control, or transport systems, Dual Interface Cards provide seamless integration and enhanced security, ensuring smooth operations in various environments. For further details, visit https://www.id-smartcards.com/
0 notes
vulgaralien · 3 months ago
Text
I keep thinking about that witch hat pattern,,,, only $8,,,, I have $8,,, but I need to save money
0 notes
passionfruitmango · 5 months ago
Text
Ughhh first it was tumblr live being forcefed to us, now it's tumblr communities???
I don't want discord on tumblr just want to scroll
0 notes