commodore.gen.tr

Genel Kategori => Genel Sohbet => Konuyu başlatan: Simon (Özay Turay) üzerinde Aralık 10, 2022, 13:01:57 ÖS



Konu Başlığı: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: Simon (Özay Turay) üzerinde Aralık 10, 2022, 13:01:57 ÖS
Muhtemelen yazılımcılar işsiz kalacak tarzı bir videoya çoktan maruz kalmışsınızdır ama bir de kendiniz deneyip kararınızı öyle verin istedim. ::)

https://chat.openai.com/chat (https://chat.openai.com/chat)

Yaptığım denemenin ekran görüntüsü. :o

(https://www.commodore.gen.tr/forum/index.php?action=dlattach;topic=20656.0;attach=46540;image)


Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: metaone üzerinde Aralık 10, 2022, 14:00:21 ÖS
Gerçekten acayipmiş. Ben de denedim, utanmadan açıklama falan da veriyor sonunda  ;D

Q: can you write a text in Commodore 64 assembly language?
A: Sure, here is a simple program written in Commodore 64 assembly language that will print "Hello, world!" to the screen:

    *= $0801

    ; Set the screen color to white on blue
    lda #$0D
    sta $D020

    ; Set the character color to black
    lda #$00
    sta $D021

    ; Set the cursor position to the top-left corner of the screen
    lda #$00
    sta $0400
    lda #$00
    sta $0401

    ; Print "Hello, world!" to the screen
    ldx #$00
    ldy #$00
    lda message, x
    beq _done
    sta $0400, x
    inx
    bne _print

_done
    rts

message
    .text "Hello, world!"


This program uses the following Commodore 64 BASIC memory map:

$0400: screen color
$0401: character color
$D020: screen color
$D021: character color
To run this program on a Commodore 64, you would need to assemble it and load it into memory. You can do this using a program like DASM, which is a cross-platform assembler for the 6502 microprocessor. Once the program is assembled and loaded into memory, you can run it by entering SYS 828 on the Commodore 64 command line. This will jump to the starting address of the program, which is $0801 in this example.





Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: fort_apocalypse üzerinde Aralık 10, 2022, 14:07:06 ÖS
Daha neler göreceğiz bakalım.

Sürücüsüz, otonom taşıt teknolojisini yeni üretilen araçlarda zorunlu yapsınlar artık.


Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: Simon (Özay Turay) üzerinde Aralık 10, 2022, 14:25:54 ÖS
Gerçekten acayipmiş. Ben de denedim, utanmadan açıklama falan da veriyor sonunda  ;D

Ben de şöyle denedim ama eklediği kod yanlış. SYS olarak $9E eklemesi doğru ama autostart kodunun sonuna bir label ekleyip onun adresini kullanması lazım, aklımda yanlış kalmadıysa sonda da üç tane sıfır olması gerekiyor. Demek ki daha kırt fırım ekmek yemesi lazım, en azından C64 kodu için. :D

can you make it autostart from basic

Yes, we can make the program autostart from BASIC by adding a few lines of BASIC code at the beginning of the program. Here is the revised version of the program that will autostart from BASIC:

        *= $0801
        .ORG $0801

        ; BASIC autostart
        .WORD $0801          ; Set program start address
        .BYTE $9E, "HELLO"   ; Set program name
        .BYTE $00

        ; Set up the screen
        LDX #$00
        STX $D020
        STX $D021

        ; Print "Hello, World!"
        LDY #$00             ; Initialize Y register to 0
        LDA Message, Y       ; Load character from message into A

PrintLoop:
        BEQ Done             ; If character is 0 (null terminator), go to Done
        JSR $FFD2            ; Print character to screen
        INY                 ; Increment Y register
        JMP PrintLoop        ; Loop to print next character

Done:
        ; Wait for a key press
        JSR $FFE4

        ; Return to BASIC
        JMP $EA31

Message:
        .BYTE "Hello, World!", 0


This program starts with three lines of BASIC code that tell the Commodore 64 where to find the program and what to name it. The first line sets the start address of the program to $0801, the second line sets the program name to HELLO, and the third line is a null terminator that marks the end of the BASIC code.

After the BASIC code, the program is the same as the previous version that uses a loop to print the message. This means that the program will automatically start when you run the HELLO program from BASIC.

I hope this helps! Let me know if you have any other questions.


Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: sertacarslan üzerinde Aralık 10, 2022, 18:57:05 ÖS
Bendeki sürüm biraz aptal çıktı :)

(https://i.hizliresim.com/n9tfknd.jpg) (https://www.hizliresim.com/n9tfknd)


Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: witchdoktor üzerinde Aralık 10, 2022, 20:26:53 ÖS
Stabil raster rutini veya 64 sprite'lı multiplexer isteyin ;)

Midjourney, ressamları aç bırakmaya yeminli...

https://midjourney.com/


Konu Başlığı: ChatGPT ve Commodore 64'te kod yazma :)
Gönderen: CenkMiri üzerinde Aralık 12, 2022, 20:25:37 ÖS
Bazı konularda başarılı yanlız olmayan komutları da uyduruyor :).
Makina dilinde de yazıyor.
Ama bilmiş tavırları çok keyifli  :).


Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: witchdoktor üzerinde Aralık 12, 2022, 21:14:46 ÖS
Cin olmadan çarpmaya çalışıyor ;)

Önemli olanın 'satış' olduğunu anlamış ;)


Konu Başlığı: Ynt: ChatGPT - Yazılımcılar/Yazarlar/Şairler İşsiz mi Kalacak?
Gönderen: ercanersoy üzerinde Aralık 13, 2022, 19:28:59 ÖS
Sanat konusu için insanların yaptığı her zaman daha değerli olacaktır. Çünkü, sanat demek insanların duygu ve düşüncelerini çeşitli estetik görsel ve işitsel olarak ifade etmektedir.

Kod yazımına gelince, gelecekte kod yazmaktan çok tasarım işi ön plana çıkacaktır. Bu konuda geliştirme araçları evrim geçirecektir diye tahmin ediyorum.